pushNotifCount method for real-time updating of notification bell + favicon for multiple tabs (closes #219)

This commit is contained in:
Julian Lam
2013-12-10 22:05:37 -05:00
parent 538356846d
commit c313c4501b
5 changed files with 43 additions and 14 deletions

View File

@@ -720,7 +720,7 @@ var async = require('async'),
user.notifications.getUnreadByUniqueId(uid, 'topic:' + tid, function(err, nids) {
notifications.mark_read_multiple(nids, uid, function() {
user.pushNotifCount(uid);
});
});
}