mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
removedu if from filter:parse,post, parse strip teaser content
This commit is contained in:
@@ -232,7 +232,7 @@ SocketPosts.sendNotificationToPostOwner = function(pid, fromuid, notification) {
|
||||
async.parallel({
|
||||
username: async.apply(user.getUserField, fromuid, 'username'),
|
||||
topicTitle: async.apply(topics.getTopicField, postData.tid, 'title'),
|
||||
postObj: async.apply(postTools.parsePost, postData, postData.uid)
|
||||
postObj: async.apply(postTools.parsePost, postData)
|
||||
}, function(err, results) {
|
||||
if (err) {
|
||||
return;
|
||||
@@ -479,7 +479,7 @@ SocketPosts.flag = function(socket, pid, callback) {
|
||||
function(topic, next) {
|
||||
post.topic = topic;
|
||||
message = '[[notifications:user_flagged_post_in, ' + userName + ', ' + topic.title + ']]';
|
||||
postTools.parsePost(post, socket.uid, next);
|
||||
postTools.parsePost(post, next);
|
||||
},
|
||||
function(post, next) {
|
||||
async.parallel({
|
||||
|
||||
Reference in New Issue
Block a user