From 099a04c1c8c083ead62cbd175781ee242ca2002e Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sat, 6 Sep 2014 02:17:02 -0400 Subject: [PATCH] disabling pushUnreadCount for now, perhaps this might be good on redis too? --- src/topics/unread.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/topics/unread.js b/src/topics/unread.js index 8594ff371f..839034b010 100644 --- a/src/topics/unread.js +++ b/src/topics/unread.js @@ -157,7 +157,12 @@ module.exports = function(Topics) { } Topics.pushUnreadCount = function(uids, callback) { - return; + if (typeof callback === 'function') { + return callback(null); + } else { + return null; + } + var websockets = require('./../socket.io'); if (!uids) {