@ -43,6 +43,7 @@ SocketPosts.reply = function(socket, data, callback) {
});
module.parent.exports.emitTopicPostStats();
topics.pushUnreadCount();
callback();
}
@ -47,6 +47,7 @@ SocketTopics.post = function(socket, data, callback) {
callback(null, result.topicData);
@ -225,7 +225,6 @@ module.exports = function(Topics) {
Topics.markAsRead(tid, uid, next);
},
function(result, next) {
Topics.pushUnreadCount();
posts.getUserInfoForPosts([postData.uid], next);
function(userInfo, next) {