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:
|
else:
|
||||||
if(details.isOneToOne or details.isGroupChat):
|
if(details.isOneToOne or details.isGroupChat):
|
||||||
let exemptions = self.settingsService.getNotifSettingExemptions(details.chatId)
|
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
|
return
|
||||||
|
|
||||||
if(details.notificationType == NotificationType.NewMessageWithPersonalMention and
|
if(details.notificationType == NotificationType.NewMessageWithPersonalMention and
|
||||||
|
|
Loading…
Reference in New Issue