mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-17 09:08:49 +00:00
fix: notifications
This commit is contained in:
parent
2c553f48f7
commit
fd976c770d
@ -253,6 +253,7 @@ QtObject:
|
||||
|
||||
if not channel.muted:
|
||||
let isAddedContact = channel.chatType.isOneToOne and self.isAddedContact(channel.id)
|
||||
if msg.editedAt == "0": # Do not push notifications for edit messages
|
||||
self.messageNotificationPushed(msg.chatId, escape_html(msg.text), msg.messageType, channel.chatType.int, msg.timestamp, msg.identicon, msg.userName, msg.hasMention, isAddedContact, channel.name)
|
||||
|
||||
proc markMessageAsSent*(self:MessageView, chat: string, messageId: string) =
|
||||
|
Loading…
x
Reference in New Issue
Block a user