more work on #1518

still needs more work, category is next
This commit is contained in:
barisusakli
2014-05-15 10:38:02 -04:00
parent 822cf56af1
commit 3e86bdb38f
15 changed files with 272 additions and 151 deletions

View File

@@ -37,8 +37,15 @@ SocketPosts.reply = function(socket, data, callback) {
}
if (postData) {
var privileges = {
meta : {
'topics:reply': true
}
};
websockets.server.sockets.emit('event:new_post', {
posts: [postData]
posts: [postData],
privileges: privileges
});
module.parent.exports.emitTopicPostStats();