mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-25 16:24:27 +00:00
don't throttle own messages on desktop
This commit is contained in:
+6
-1
@@ -305,7 +305,12 @@ object ChatModel {
|
||||
else
|
||||
chat.chatStats
|
||||
)
|
||||
popChatCollector.addChat(chat.remoteHostId, chat.id)
|
||||
if (appPlatform.isDesktop && cItem.chatDir.sent) {
|
||||
chat.popTs = Clock.System.now()
|
||||
chats.add(0, chats.removeAt(i))
|
||||
} else {
|
||||
popChatCollector.addChat(chat.remoteHostId, chat.id)
|
||||
}
|
||||
} else {
|
||||
addChat(Chat(remoteHostId = rhId, chatInfo = cInfo, chatItems = arrayListOf(cItem)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user