Do not show message notifications if disabled in settings.

fork-5.53.8
Cody Henthorne 2021-02-12 11:09:51 -05:00
rodzic f6aaef1434
commit 1935b0ebdd
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -271,6 +271,10 @@ public class DefaultMessageNotifier implements MessageNotifier {
int reminderCount,
@NonNull BubbleUtil.BubbleState defaultBubbleState)
{
if (!TextSecurePreferences.isNotificationsEnabled(context)) {
return;
}
boolean isReminder = reminderCount > 0;
Cursor telcoCursor = null;
Cursor pushCursor = null;