mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 07:25:46 +01:00
Redirect to category after purging topic
This commit is contained in:
@@ -101,7 +101,7 @@ var winston = require('winston'),
|
||||
}
|
||||
|
||||
websockets.emitTopicPostStats();
|
||||
websockets.in('topic_' + tid).emit('event:topic_purged', tid);
|
||||
websockets.in('topic_' + tid).emit('event:topic_purged', tid, results.topic.cid);
|
||||
websockets.in('category_' + results.topic.cid).emit('event:topic_purged', tid);
|
||||
callback();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user