mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
This commit is contained in:
@@ -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();
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user