mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
closes #303
This commit is contained in:
@@ -52,7 +52,6 @@ var RDB = require('./redis.js'),
|
||||
(function(uid) {
|
||||
notifications.remove_by_uniqueId(notif_data.uniqueId, uid, function() {
|
||||
RDB.zadd('uid:' + uid + ':notifications:unread', notif_data.score, nid);
|
||||
RDB.set('uid:' + uid + ':notifications:flag', 1);
|
||||
global.io.sockets. in ('uid_' + uid).emit('event:new_notification');
|
||||
if (callback) callback(true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user