mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-19 14:02:58 +01:00
closes #4299
This commit is contained in:
@@ -71,7 +71,7 @@ define('chat', ['components', 'taskbar', 'string', 'sounds', 'forum/chats', 'tra
|
||||
});
|
||||
|
||||
socket.on('event:chats.roomRename', function(data) {
|
||||
module.getModal(data.roomId).find('[component="chat/room/name"]').val(data.newName);
|
||||
module.getModal(data.roomId).find('[component="chat/room/name"]').val($('<div/>').html(data.newName).text());
|
||||
});
|
||||
|
||||
Chats.onChatEdit();
|
||||
|
||||
Reference in New Issue
Block a user