diff --git a/src/socket.io/posts.js b/src/socket.io/posts.js index 9d4a4871d8..ad38842402 100644 --- a/src/socket.io/posts.js +++ b/src/socket.io/posts.js @@ -113,7 +113,7 @@ function sendNotificationToPostOwner(data, uid, message) { return; } - if (uid === parseInt(postData.uid)) { + if (uid === parseInt(postData.uid, 10)) { return; }