Store team chat keys in the user proxy

This commit is contained in:
yflory
2019-09-17 16:24:48 +02:00
parent 9cf99a8b65
commit 74d7c00134
3 changed files with 61 additions and 25 deletions

View File

@@ -342,6 +342,9 @@ define([
teamId: APP.team
}, function (obj) {
console.warn(obj);
if (obj && obj.error) {
return void UI.alert(Messages.error); // XXX
}
common.setTeamChat(obj.channel);
MessengerUI.create($(container), common, true);
cb(content);