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() {
|
||||
const self = Realtime
|
||||
ChatView.setNewMap(self.room.room)
|
||||
ChatView.setNewMap()
|
||||
ChatView.addParticipant(self.activeMapper)
|
||||
ChatView.addMessages(new DataModel.MessageCollection(DataModel.Messages), true)
|
||||
ChatView.show()
|
||||
|
|
|
@ -32,9 +32,8 @@ const ChatView = {
|
|||
}
|
||||
})
|
||||
},
|
||||
setNewMap: function(room) {
|
||||
setNewMap: function() {
|
||||
const self = ChatView
|
||||
self.room = room
|
||||
self.conversationLive = false
|
||||
self.isParticipating = false
|
||||
self.alertSound = true // whether to play sounds on arrival of new messages or not
|
||||
|
|
Loading…
Add table
Reference in a new issue