diff --git a/app/lib/server/functions/notifications/mobile.js b/app/lib/server/functions/notifications/mobile.js index 4d1b7482b12..9dce401393c 100644 --- a/app/lib/server/functions/notifications/mobile.js +++ b/app/lib/server/functions/notifications/mobile.js @@ -81,6 +81,10 @@ export function shouldNotifyMobile({ roomType, isThread, }) { + if (settings.get('Push_enable') !== true) { + return false; + } + if (disableAllMessageNotifications && mobilePushNotifications == null && !isHighlighted && !hasMentionToUser && !hasReplyToThread) { return false; }