mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 22:36:24 +00:00
fix: fix chat not scrolling because the signal was not called
This commit is contained in:
parent
d5f8148fc3
commit
a5fce2b7de
@ -319,6 +319,11 @@ QtObject:
|
||||
if (channel == nil):
|
||||
continue
|
||||
let isAddedContact = channel.chatType.isOneToOne and self.status.contacts.isAdded(channel.id)
|
||||
|
||||
if msg.chatId == self.activeChannel.id:
|
||||
discard self.status.chat.markMessagesSeen(msg.chatId, @[msg.id])
|
||||
self.newMessagePushed()
|
||||
|
||||
if not channel.muted:
|
||||
self.messageNotificationPushed(
|
||||
msg.chatId,
|
||||
@ -331,9 +336,6 @@ QtObject:
|
||||
msg.hasMention,
|
||||
isAddedContact,
|
||||
channel.name)
|
||||
else:
|
||||
discard self.status.chat.markMessagesSeen(msg.chatId, @[msg.id])
|
||||
self.newMessagePushed()
|
||||
|
||||
proc updateUsernames*(self:ChatsView, contacts: seq[Profile]) =
|
||||
if contacts.len > 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user