mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 03:01:08 +01:00
dont make a copy of chat message
This commit is contained in:
@@ -91,7 +91,7 @@ define('forum/chats', ['string', 'sounds'], function(S, sounds) {
|
||||
containerEl = $('.expanded-chat ul');
|
||||
|
||||
if (Chats.isCurrentChat(data.withUid)) {
|
||||
newMessage = data.message.self === 0;
|
||||
newMessage = data.self === 0;
|
||||
|
||||
Chats.parseMessage(data.message, function(html) {
|
||||
var newMessage = $(html);
|
||||
|
||||
Reference in New Issue
Block a user