mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
closed #2321
This commit is contained in:
@@ -353,5 +353,9 @@ define('chat', ['taskbar', 'string', 'sounds', 'forum/chats'], function(taskbar,
|
||||
taskbar.toggleNew(uuid, state);
|
||||
};
|
||||
|
||||
module.canMessage = function(toUid, callback) {
|
||||
socket.emit('modules.chats.canMessage', toUid, callback);
|
||||
};
|
||||
|
||||
return module;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user