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')
|
self.socket.emit('endMapperNotify')
|
||||||
$('.collabCompass').remove()
|
$('.collabCompass').remove()
|
||||||
self.status = false
|
self.status = false
|
||||||
self.room.leave()
|
if (self.room) {
|
||||||
self.room.chat.$container.hide()
|
self.room.leave()
|
||||||
self.room.chat.close()
|
self.room.chat.$container.hide()
|
||||||
|
self.room.chat.close()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
turnOn: function (notify) {
|
turnOn: function (notify) {
|
||||||
var self = Metamaps.Realtime
|
var self = Metamaps.Realtime
|
||||||
|
|
Loading…
Reference in a new issue