Redirect to category after purging topic

This commit is contained in:
Charles
2014-06-16 15:49:43 +07:00
parent 76190718d3
commit 0cba152516
2 changed files with 4 additions and 4 deletions

View File

@@ -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();
});