mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 17:46:16 +01:00
passing in a picture into notifications now
This commit is contained in:
@@ -106,7 +106,8 @@ SocketModules.chats.send = function(socket, data) {
|
||||
notifications.create({
|
||||
text: notifText,
|
||||
path: 'javascript:app.openChat('' + username + '', ' + socket.uid + ');',
|
||||
uniqueId: 'notification_' + socket.uid + '_' + touid
|
||||
uniqueId: 'notification_' + socket.uid + '_' + touid,
|
||||
from: socket.uid
|
||||
}, function(nid) {
|
||||
notifications.push(nid, [touid], function(success) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user