News post emails
This commit is contained in:
@@ -120,8 +120,8 @@ DB.getDB.then((DB) => {
|
||||
let dbr = await DB.newPost(postObj);
|
||||
post = postObj.toObj();
|
||||
post._id = dbr.insertedId;
|
||||
if (post.toProfile && post.toProfile != post.profileid) {
|
||||
Notifications.youGotANewPost(post)
|
||||
if ((post.toProfile && post.toProfile != post.profileid) || post.nonOrganicType == 'News') {
|
||||
Notifications.youGotANewPost(post);
|
||||
}
|
||||
return res.json({
|
||||
status: "ok",
|
||||
|
||||
Reference in New Issue
Block a user