mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
closes #2053
This commit is contained in:
@@ -15,11 +15,11 @@ define('chat', ['taskbar', 'string', 'sounds', 'forum/chats'], function(taskbar,
|
||||
return;
|
||||
}
|
||||
|
||||
socket.emit('modules.chats.list', function(err, chats) {
|
||||
socket.emit('modules.chats.getRecentChats', {after: 0}, function(err, chats) {
|
||||
if (err) {
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
|
||||
chats = chats.users;
|
||||
var userObj;
|
||||
|
||||
chatsListEl.empty();
|
||||
|
||||
Reference in New Issue
Block a user