no room is created if anon user (#642)
This commit is contained in:
parent
698adf69cd
commit
823c0c5990
1 changed files with 5 additions and 3 deletions
|
@ -206,9 +206,11 @@ Metamaps.Realtime = {
|
|||
self.socket.emit('endMapperNotify')
|
||||
$('.collabCompass').remove()
|
||||
self.status = false
|
||||
self.room.leave()
|
||||
self.room.chat.$container.hide()
|
||||
self.room.chat.close()
|
||||
if (self.room) {
|
||||
self.room.leave()
|
||||
self.room.chat.$container.hide()
|
||||
self.room.chat.close()
|
||||
}
|
||||
},
|
||||
turnOn: function (notify) {
|
||||
var self = Metamaps.Realtime
|
||||
|
|
Loading…
Reference in a new issue