Revert previous commit and make the team pin everything

This commit is contained in:
yflory
2019-09-17 16:54:03 +02:00
parent 02cd15882b
commit fa89ab410d
3 changed files with 11 additions and 32 deletions

View File

@@ -771,7 +771,7 @@ define([
var chanId = chatData.channel;
var secret = chatData.secret;
if (!chanId || !secret) { return void cb({error: 'EINVAL'}); }
if (!chanId || !secret) { return void _cb({error: 'EINVAL'}); }
var cb = Util.once(Util.mkAsync(function () {
ctx.emit('TEAMCHAT_READY', chanId, [clientId]);