mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
dont make a copy of chat message
This commit is contained in:
@@ -66,7 +66,7 @@ define('chat', ['taskbar', 'string', 'sounds', 'forum/chats'], function(taskbar,
|
||||
if (isSelf) {
|
||||
username = data.message.toUser.username;
|
||||
}
|
||||
newMessage = data.message.self === 0;
|
||||
newMessage = data.self === 0;
|
||||
if (module.modalExists(data.withUid)) {
|
||||
var modal = module.getModal(data.withUid);
|
||||
module.appendChatMessage(modal, data.message);
|
||||
|
||||
Reference in New Issue
Block a user