|
|
@ -250,8 +250,6 @@ define([
|
|
|
|
ctx.teams[id] = team;
|
|
|
|
ctx.teams[id] = team;
|
|
|
|
registerChangeEvents(ctx, team, proxy);
|
|
|
|
registerChangeEvents(ctx, team, proxy);
|
|
|
|
SF.loadSharedFolders(ctx.Store, ctx.store.network, team, team.userObject, waitFor);
|
|
|
|
SF.loadSharedFolders(ctx.Store, ctx.store.network, team, team.userObject, waitFor);
|
|
|
|
// XXX
|
|
|
|
|
|
|
|
// Load members pad
|
|
|
|
|
|
|
|
}).nThen(function () {
|
|
|
|
}).nThen(function () {
|
|
|
|
if (!team.rpc) { return; }
|
|
|
|
if (!team.rpc) { return; }
|
|
|
|
var list = getTeamChannelList(ctx, id);
|
|
|
|
var list = getTeamChannelList(ctx, id);
|
|
|
@ -331,7 +329,7 @@ define([
|
|
|
|
}
|
|
|
|
}
|
|
|
|
roster = _roster;
|
|
|
|
roster = _roster;
|
|
|
|
|
|
|
|
|
|
|
|
// XXX update our roster last known hash if a checkpoint was sent in the history
|
|
|
|
rosterData.lastKnownHash = roster.getLastCheckpointHash();
|
|
|
|
|
|
|
|
|
|
|
|
// If we've been kicked, don't try to update our data, we'll close everything
|
|
|
|
// If we've been kicked, don't try to update our data, we'll close everything
|
|
|
|
// in the next nThen part
|
|
|
|
// in the next nThen part
|
|
|
|