This commit is contained in:
Avently
2023-09-06 22:46:09 +08:00
parent 65eae502c0
commit 6e0e3d4930

View File

@@ -55,6 +55,7 @@ abstract class NtfManager {
fun openChatAction(userId: Long?, chatId: ChatId) {
withBGApi {
delay(5000L)
awaitChatStartedIfNeeded(chatModel)
if (userId != null && userId != chatModel.currentUser.value?.userId && chatModel.currentUser.value != null) {
chatModel.controller.changeActiveUser(userId, null)