mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2025-06-28 20:29:53 +00:00
don't throttle own messages on desktop
This commit is contained in:
parent
2e78e8acf5
commit
d1b48e583e
1 changed files with 6 additions and 1 deletions
|
@ -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)))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue