From 97efaf2417ac67aa76e097494d511bfc74d740c8 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 23 Sep 2019 11:38:57 +0200 Subject: [PATCH] Update roster last known hash --- www/common/outer/team.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/www/common/outer/team.js b/www/common/outer/team.js index 604e5277c..438a6a420 100644 --- a/www/common/outer/team.js +++ b/www/common/outer/team.js @@ -250,8 +250,6 @@ define([ ctx.teams[id] = team; registerChangeEvents(ctx, team, proxy); SF.loadSharedFolders(ctx.Store, ctx.store.network, team, team.userObject, waitFor); - // XXX - // Load members pad }).nThen(function () { if (!team.rpc) { return; } var list = getTeamChannelList(ctx, id); @@ -331,7 +329,7 @@ define([ } 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 // in the next nThen part