From d612993da7f3e4fc3140bb208b19b35625f045a0 Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 8 Dec 2023 11:11:18 -0300 Subject: [PATCH] add user's preference to the lookup query --- apps/meteor/app/lib/server/lib/sendNotificationsOnMessage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/meteor/app/lib/server/lib/sendNotificationsOnMessage.js b/apps/meteor/app/lib/server/lib/sendNotificationsOnMessage.js index c3f6e7ddd05e..372f34e7cb32 100644 --- a/apps/meteor/app/lib/server/lib/sendNotificationsOnMessage.js +++ b/apps/meteor/app/lib/server/lib/sendNotificationsOnMessage.js @@ -193,6 +193,7 @@ const project = { 'receiver.status': 1, 'receiver.statusConnection': 1, 'receiver.username': 1, + 'receiver.settings.preferences.enableMobileRinging': 1, }, };