diff --git a/src/socket.io/posts.js b/src/socket.io/posts.js index 93b7a90416..ad38842402 100644 --- a/src/socket.io/posts.js +++ b/src/socket.io/posts.js @@ -71,7 +71,7 @@ SocketPosts.reply = function(socket, data, callback) { posts: [postData] }; - index.server.sockets.in('topic_' + postData.tid).emit('event:new_post', socketData); + index.server.sockets.emit('event:new_post', socketData); callback(); }