mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
#1375 part1
This commit is contained in:
@@ -163,8 +163,10 @@ module.exports = function(User) {
|
||||
bodyLong: '',
|
||||
image: 'brand:logo',
|
||||
datetime: Date.now()
|
||||
}, function(nid) {
|
||||
notifications.push(nid, uid);
|
||||
}, function(err, nid) {
|
||||
if (!err) {
|
||||
notifications.push(nid, uid);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user