more fixes

This commit is contained in:
Baris Soner Usakli
2014-01-16 21:19:29 -05:00
parent 8740cc0fc7
commit 31d353ab0e
7 changed files with 72 additions and 106 deletions

View File

@@ -624,7 +624,7 @@ var async = require('async'),
async.each(uids, function(uid, next) {
Topics.getUnreadTids(uid, 0, 19, function(err, tids) {
websockets.in('uid_' + uid).emit('event:unread.updateCount', tids.length);
websockets.in('uid_' + uid).emit('event:unread.updateCount', null, tids.length);
next();
});
}, function(err) {