This commit is contained in:
Avently
2025-01-21 18:56:26 +07:00
parent e17d1a0280
commit 729f8f06fa
@@ -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()))
}
}
}