fix(badge): show badge when mentioned even if channel is muted

Fixes #8723
This commit is contained in:
Jonathan Rainville 2022-12-12 11:04:07 -05:00
parent 194e3048bc
commit 2b9c1f914d
1 changed files with 1 additions and 1 deletions

View File

@ -728,7 +728,7 @@ method onNewMessagesReceived*(self: Module, sectionIdMsgBelongsTo: string, chatI
self.updateBadgeNotifications(chatIdMsgBelongsTo, hasUnreadMessages, unviewedMentionsCount) self.updateBadgeNotifications(chatIdMsgBelongsTo, hasUnreadMessages, unviewedMentionsCount)
if (chatDetails.muted): if (chatDetails.muted):
# No need to update the badge nor send a notification # No need to send a notification
return return
# Prepare notification # Prepare notification