don't need room here anymore

This commit is contained in:
Connor Turland 2016-12-21 03:11:40 -05:00
parent 85588825f0
commit 3dd6245d52
2 changed files with 2 additions and 3 deletions

View file

@ -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()

View file

@ -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