psychobunny 9 years ago
parent 3e14606226
commit 489bdcced6

@ -55,7 +55,7 @@ define('taskbar', function() {
$(window).trigger('filter:taskbar.push', data);
if (!element.length) {
if (!element.length && data.module) {
createTaskbar(data);
}
};

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

Loading…
Cancel
Save