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) {