|
|
|
@ -54,7 +54,7 @@ Channel.clearOwnedChannel = function (Env, safeKey, channelId, cb, Server) { |
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
|
Channel.removeOwnedChannel = function (Env, safeKey, channelId, cb, Server) { // XXX very heavy CPU usage
|
|
|
|
Channel.removeOwnedChannel = function (Env, safeKey, channelId, cb, Server) { |
|
|
|
if (typeof(channelId) !== 'string' || !Core.isValidId(channelId)) { |
|
|
|
return cb('INVALID_ARGUMENTS'); |
|
|
|
} |
|
|
|
|