fix(notifications): stop showing notif in group chat when no mention
Fixes #10194
This commit is contained in:
parent
44ffc05077
commit
1a07b73354
|
@ -309,7 +309,9 @@ QtObject:
|
|||
else:
|
||||
if(details.isOneToOne or details.isGroupChat):
|
||||
let exemptions = self.settingsService.getNotifSettingExemptions(details.chatId)
|
||||
if(exemptions.muteAllMessages):
|
||||
if exemptions.muteAllMessages or
|
||||
# Don't show a notification for group messages that are NOT mentions
|
||||
(details.isGroupChat and details.notificationType != NotificationType.NewMessageWithPersonalMention):
|
||||
return
|
||||
|
||||
if(details.notificationType == NotificationType.NewMessageWithPersonalMention and
|
||||
|
|
Loading…
Reference in New Issue