Skip to content

Node.js based forum software built for the modern web

disabling pushUnreadCount for now, perhaps this might be good on redis too?

psychobunny099a04c1c8c0
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) {