mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-14 19:05:27 +00:00
change
This commit is contained in:
+1
-1
@@ -1399,7 +1399,7 @@ private suspend fun afterSetChatTTL(rhId: Long?, chatInfo: ChatInfo, progressInd
|
||||
withChats {
|
||||
val oldChat = getChat(chat.id)
|
||||
if (oldChat != null) {
|
||||
replaceChat(rhId, chatInfo.id, oldChat.copy(chatItems = emptyList()))
|
||||
replaceChat(oldChat.remoteHostId, oldChat.id, oldChat.copy(chatItems = emptyList()))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user