Make inviting/kicking work.

This commit is contained in:
Simo Kinnunen
2014-02-03 01:31:18 +09:00
parent 4ac766c371
commit 3a0d177925
6 changed files with 55 additions and 21 deletions

View File

@@ -22,7 +22,7 @@ ChannelManager.prototype.register = function(id, timeout) {
ChannelManager.prototype.unregister = function(id) {
var channel = this.channels[id]
delete this.channels[id]
clearInterval(channel.timer)
clearTimeout(channel.timer)
}
ChannelManager.prototype.keepalive = function(id) {