feat(chat): 유저 크리에이터 DM을 추가한다

This commit is contained in:
Yu Sung
2026-07-12 04:48:17 +09:00
parent ce191539f2
commit 2dfff32ac1
23 changed files with 2410 additions and 6 deletions

View File

@@ -81,8 +81,13 @@ struct MainChatView: View {
}
private func handleChatRoomTap(roomId: Int, chatType: String) {
guard chatType == "AI" else { return }
AppState.shared.setAppStep(step: .chatRoom(id: roomId))
guard roomId > 0 else { return }
if chatType == "AI" {
AppState.shared.setAppStep(step: .chatRoom(id: roomId))
} else if chatType == "DM" {
AppState.shared.setAppStep(step: .userCreatorChatRoom(roomId: roomId))
}
}
}