From 6e0e3d49309171b38bebb9f55f855db7b85836c5 Mon Sep 17 00:00:00 2001 From: Avently <7953703+avently@users.noreply.github.com> Date: Wed, 6 Sep 2023 22:46:09 +0800 Subject: [PATCH] test --- .../commonMain/kotlin/chat/simplex/common/platform/NtfManager.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/platform/NtfManager.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/platform/NtfManager.kt index 6adadaffaa..3687fe4d64 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/platform/NtfManager.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/platform/NtfManager.kt @@ -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)