From cb5c906757f544c8cd69177f8aa2c8402707e456 Mon Sep 17 00:00:00 2001 From: Diogo Date: Wed, 22 Jan 2025 13:03:53 +0000 Subject: [PATCH] remove delay --- .../kotlin/chat/simplex/common/views/chat/ChatInfoView.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatInfoView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatInfoView.kt index 166d1bd678..7f5ed7b2a5 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatInfoView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatInfoView.kt @@ -1370,7 +1370,6 @@ private fun setChatTTL( withBGApi { try { chatModel.controller.setChatTTL(rhId, chatInfo.chatType, chatInfo.apiId, chatTTL.value) - delay(5000) afterSetChatTTL(rhId, chatInfo, progressIndicator) } catch (e: Exception) { chatTTL.value = previousChatTTL