turns out chatview was heavily hogging memory
This commit is contained in:
parent
4882e9dac3
commit
fe8d2c1ff9
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ const ChatView = {
|
||||||
if (!isInitial && !self.isOpen) self.unreadMessages += 1
|
if (!isInitial && !self.isOpen) self.unreadMessages += 1
|
||||||
if (!wasMe && !isInitial && self.alertSound) self.sound.play('receivechat')
|
if (!wasMe && !isInitial && self.alertSound) self.sound.play('receivechat')
|
||||||
self.messages.add(message)
|
self.messages.add(message)
|
||||||
self.render()
|
if (!isInitial && self.isOpen) self.render()
|
||||||
},
|
},
|
||||||
sendChatMessage: message => {
|
sendChatMessage: message => {
|
||||||
var self = ChatView
|
var self = ChatView
|
||||||
|
|
Loading…
Add table
Reference in a new issue