mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Update Mention UI/UX to match latest designs.
This commit is contained in:
committed by
Greyson Parrelli
parent
d63e5165eb
commit
724f3e872b
@@ -536,12 +536,9 @@ public class DefaultMessageNotifier implements MessageNotifier {
|
||||
|
||||
boolean includeMessage = true;
|
||||
if (threadRecipients != null && threadRecipients.isMuted()) {
|
||||
RecipientDatabase.MentionSetting mentionSetting = threadRecipients.getMentionSetting();
|
||||
boolean mentionsOverrideMute = threadRecipients.getMentionSetting() == RecipientDatabase.MentionSetting.ALWAYS_NOTIFY;
|
||||
|
||||
boolean overrideMuted = (mentionSetting == RecipientDatabase.MentionSetting.GLOBAL && SignalStore.notificationSettings().isMentionNotifiesMeEnabled()) ||
|
||||
mentionSetting == RecipientDatabase.MentionSetting.ALWAYS_NOTIFY;
|
||||
|
||||
includeMessage = FeatureFlags.mentions() && overrideMuted && record.hasSelfMention();
|
||||
includeMessage = FeatureFlags.mentions() && mentionsOverrideMute && record.hasSelfMention();
|
||||
}
|
||||
|
||||
if (threadRecipients == null || includeMessage) {
|
||||
|
||||
Reference in New Issue
Block a user