mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
proof that comments can be misleading
This commit is contained in:
@@ -313,7 +313,7 @@ marked.setOptions({
|
|||||||
if (pid > 0) {
|
if (pid > 0) {
|
||||||
RDB.lpush('tid:' + tid + ':posts', pid);
|
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) {
|
Topics.get_topic(tid, uid, function(topicData) {
|
||||||
io.sockets.in('category_' + category_id).emit('event:new_topic', topicData);
|
io.sockets.in('category_' + category_id).emit('event:new_topic', topicData);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user