mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
respect global notification switch
This commit is contained in:
@@ -289,7 +289,7 @@ public class NotificationCenter {
|
||||
|
||||
DcChat dcChat = dcContext.getChat(chatId);
|
||||
|
||||
if (Prefs.isChatMuted(dcContext.context, chatId)) {
|
||||
if (!Prefs.isNotificationsEnabled(context) || Prefs.isChatMuted(context, chatId)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user