diff --git a/src/socket.io/posts.js b/src/socket.io/posts.js index 3a11a5b659..63f97a5bce 100644 --- a/src/socket.io/posts.js +++ b/src/socket.io/posts.js @@ -113,6 +113,10 @@ function sendNotificationToPostOwner(data, uid, message) { return; } + if (uid === parseInt(postData.uid)) { + return; + } + async.parallel({ username: function(next) { user.getUserField(uid, 'username', next);