topics unread tests

This commit is contained in:
barisusakli
2016-11-28 14:15:20 +03:00
parent 444da3c9ec
commit 49267d54b7
8 changed files with 298 additions and 85 deletions

View File

@@ -44,7 +44,7 @@ SocketPosts.reply = function (socket, data, callback) {
callback(null, postData);
socket.emit('event:new_post', result);
websockets.in('uid_' + socket.uid).emit('event:new_post', result);
user.updateOnlineUsers(socket.uid);