This commit is contained in:
barisusakli
2014-10-07 16:21:12 -04:00
parent c57dc25ea7
commit f6f6ca7f76
11 changed files with 211 additions and 3 deletions

View File

@@ -322,6 +322,9 @@ SocketPosts.flag = function(socket, pid, callback) {
notifications.push(notification, adminGroup.members, next);
});
},
function(next) {
posts.flag(pid, next);
},
function(next) {
if (!parseInt(post.uid, 10)) {
return next();