mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 08:55:50 +02:00
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
This commit is contained in:
@@ -313,7 +313,7 @@ marked.setOptions({
|
||||
if (pid > 0) {
|
||||
RDB.lpush('tid:' + tid + ':posts', pid);
|
||||
|
||||
// Notify any users looking at the category that a new post has arrived
|
||||
// Notify any users looking at the category that a new topic has arrived
|
||||
Topics.get_topic(tid, uid, function(topicData) {
|
||||
io.sockets.in('category_' + category_id).emit('event:new_topic', topicData);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user