passing in a picture into notifications now

This commit is contained in:
Julian Lam
2014-02-15 15:43:44 -05:00
parent ef45ae9ba3
commit 9e64f4e303
6 changed files with 34 additions and 10 deletions

View File

@@ -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);