Dissabling email for group posts for now
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user