From bf2cdd4696d146cdc40b5feb6717e184f048fd57 Mon Sep 17 00:00:00 2001 From: Adolfo Reyna Date: Wed, 5 Feb 2025 09:58:37 -0500 Subject: [PATCH] Dissabling email for group posts for now --- notifications.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notifications.js b/notifications.js index e832156..20f584d 100644 --- a/notifications.js +++ b/notifications.js @@ -417,7 +417,8 @@ const Notifications = { const notifBody = `${senderProfile.profile.firstName} post in the group ${groupProfile.profile.firstName} ${groupProfile.profile.lastName}`; sendPushNotification(userProfile.token, notifBody, {}); DB.addNotification(userProfile._id, notifBody, post._id, null, senderProfile._id); - yourGroupGotANewPostTemplate(groupProfile, userEmail, userProfile, senderProfile, message); + // Disabling email notifications for now, until settings are implemented + // yourGroupGotANewPostTemplate(groupProfile, userEmail, userProfile, senderProfile, message); }); }, async youGotANewPost(post) {