fix(chat): Direct 대화방 진입을 분기한다

This commit is contained in:
Yu Sung
2026-07-12 23:40:39 +09:00
parent c9570fc735
commit dbf696978f
7 changed files with 23 additions and 17 deletions

View File

@@ -519,9 +519,14 @@ struct MainView: View {
viewModel.currentTab = .chat
}
private func handleFollowingChatRoomTap(roomId: Int) {
private func handleFollowingChatRoomTap(roomId: Int, chatType: String) {
guard roomId > 0 else { return }
appState.setAppStep(step: .chatRoom(id: roomId))
if chatType == "DM" {
appState.setAppStep(step: .userCreatorChatRoom(roomId: roomId))
} else {
appState.setAppStep(step: .chatRoom(id: roomId))
}
}
private func handleFollowingScheduleTap(type: CreatorActivityType, targetId: Int) {