feat(chat): 유저 크리에이터 DM을 추가한다
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user