This commit is contained in:
psychobunny
2016-03-21 12:57:44 -04:00
parent 3e14606226
commit 489bdcced6
2 changed files with 2 additions and 1 deletions

View File

@@ -240,6 +240,7 @@ SocketModules.chats.markRead = function(socket, roomId, callback) {
user.notifications.pushCount(socket.uid);
});
server.in('uid_' + socket.uid).emit('event:chats.markedAsRead', {roomId: roomId});
callback();
});
};