mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
closes #1271
This commit is contained in:
@@ -113,6 +113,10 @@ function sendNotificationToPostOwner(data, uid, message) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (uid === parseInt(postData.uid)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
async.parallel({
|
async.parallel({
|
||||||
username: function(next) {
|
username: function(next) {
|
||||||
user.getUserField(uid, 'username', next);
|
user.getUserField(uid, 'username', next);
|
||||||
|
|||||||
Reference in New Issue
Block a user