mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
closed #368 - notifications now no longer need scores
This commit is contained in:
@@ -580,7 +580,7 @@ module.exports.init = function(io) {
|
||||
notifText = 'New message from <strong>' + username + '</strong>';
|
||||
|
||||
if (!isUserOnline(touid)) {
|
||||
notifications.create(notifText, 5, 'javascript:app.openChat('' + username + '', ' + uid + ');', 'notification_' + uid + '_' + touid, function(nid) {
|
||||
notifications.create(notifText, 'javascript:app.openChat('' + username + '', ' + uid + ');', 'notification_' + uid + '_' + touid, function(nid) {
|
||||
notifications.push(nid, [touid], function(success) {
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user