mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
pushNotifCount method for real-time updating of notification bell + favicon for multiple tabs (closes #219)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user