mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 18:56:15 +01:00
closes #2020
This commit is contained in:
@@ -170,6 +170,7 @@ define('forum/chats', ['string', 'sounds'], function(S, sounds) {
|
||||
var recipientUid = Chats.getRecipientUid();
|
||||
if (recipientUid) {
|
||||
socket.emit('modules.chats.markRead', recipientUid);
|
||||
$('.expanded-chat input').focus();
|
||||
}
|
||||
$('.chats-list li').removeClass('bg-primary');
|
||||
$('.chats-list li[data-uid="' + recipientUid + '"]').addClass('bg-primary');
|
||||
|
||||
Reference in New Issue
Block a user