mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Remove mentions feature flag.
This commit is contained in:
committed by
Greyson Parrelli
parent
d04e4606d2
commit
b46589cd14
@@ -265,8 +265,7 @@ public class DefaultMessageNotifier implements MessageNotifier {
|
||||
return true;
|
||||
}
|
||||
|
||||
return FeatureFlags.mentions() &&
|
||||
recipient.isPushV2Group() &&
|
||||
return recipient.isPushV2Group() &&
|
||||
recipient.getMentionSetting() == RecipientDatabase.MentionSetting.ALWAYS_NOTIFY &&
|
||||
DatabaseFactory.getMmsDatabase(context).getUnreadMentionCount(threadId) > 0;
|
||||
}
|
||||
@@ -556,7 +555,7 @@ public class DefaultMessageNotifier implements MessageNotifier {
|
||||
if (threadRecipients != null && threadRecipients.isMuted()) {
|
||||
boolean mentionsOverrideMute = threadRecipients.getMentionSetting() == RecipientDatabase.MentionSetting.ALWAYS_NOTIFY;
|
||||
|
||||
includeMessage = FeatureFlags.mentions() && mentionsOverrideMute && record.hasSelfMention();
|
||||
includeMessage = mentionsOverrideMute && record.hasSelfMention();
|
||||
}
|
||||
|
||||
if (threadRecipients == null || includeMessage) {
|
||||
|
||||
Reference in New Issue
Block a user