don't need room here anymore
This commit is contained in:
parent
85588825f0
commit
3dd6245d52
2 changed files with 2 additions and 3 deletions
|
@ -249,7 +249,7 @@ let Realtime = {
|
||||||
},
|
},
|
||||||
setupChat: function() {
|
setupChat: function() {
|
||||||
const self = Realtime
|
const self = Realtime
|
||||||
ChatView.setNewMap(self.room.room)
|
ChatView.setNewMap()
|
||||||
ChatView.addParticipant(self.activeMapper)
|
ChatView.addParticipant(self.activeMapper)
|
||||||
ChatView.addMessages(new DataModel.MessageCollection(DataModel.Messages), true)
|
ChatView.addMessages(new DataModel.MessageCollection(DataModel.Messages), true)
|
||||||
ChatView.show()
|
ChatView.show()
|
||||||
|
|
|
@ -32,9 +32,8 @@ const ChatView = {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
setNewMap: function(room) {
|
setNewMap: function() {
|
||||||
const self = ChatView
|
const self = ChatView
|
||||||
self.room = room
|
|
||||||
self.conversationLive = false
|
self.conversationLive = false
|
||||||
self.isParticipating = false
|
self.isParticipating = false
|
||||||
self.alertSound = true // whether to play sounds on arrival of new messages or not
|
self.alertSound = true // whether to play sounds on arrival of new messages or not
|
||||||
|
|
Loading…
Add table
Reference in a new issue