v1.18.x
Baris Soner Usakli 11 years ago
parent 54d94f5988
commit a827888ee3

@ -380,10 +380,10 @@ module.exports.init = function(io) {
}
if (result) {
io.sockets.in('category_' + data.category_id).emit('event:new_topic', topicData);
io.sockets.in('recent_posts').emit('event:new_topic', topicData);
io.sockets.in('category_' + data.category_id).emit('event:new_topic', result.topicData);
io.sockets.in('recent_posts').emit('event:new_topic', result.topicData);
io.sockets.in('user/' + uid).emit('event:new_post', {
posts: postData
posts: result.postData
});
posts.getTopicPostStats();

Loading…
Cancel
Save