mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
passing in a picture into notifications now
This commit is contained in:
@@ -263,7 +263,8 @@ SocketPosts.flag = function(socket, pid, callback) {
|
||||
notifications.create({
|
||||
text: message,
|
||||
path: path,
|
||||
uniqueId: 'post_flag:' + pid
|
||||
uniqueId: 'post_flag:' + pid,
|
||||
from: socket.uid
|
||||
}, function(nid) {
|
||||
notifications.push(nid, adminGroup.members, function() {
|
||||
next(null);
|
||||
|
||||
Reference in New Issue
Block a user