mirror of https://github.com/calzoneman/sync.git
Fix a slight bug with passworded rooms
This commit is contained in:
parent
b15c5654c5
commit
65ce2f661d
|
@ -112,6 +112,8 @@ User.prototype.initCallbacks = function () {
|
|||
self.awaytimer && clearTimeout(self.awaytimer);
|
||||
if (self.inChannel())
|
||||
self.channel.userLeave(self);
|
||||
else if (self.inPendingChannel())
|
||||
self.pendingChannel.userLeave(self);
|
||||
});
|
||||
|
||||
self.socket.on("joinChannel", function (data) {
|
||||
|
|
Loading…
Reference in New Issue