From 74e41e420fd99703bd38a831f80f1cde7058d96f Mon Sep 17 00:00:00 2001 From: David Renshaw Date: Tue, 15 Nov 2016 14:34:37 -0500 Subject: [PATCH] [sandstorm]: fix bug where an identity that fails to restore could not be added to a card --- sandstorm.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sandstorm.js b/sandstorm.js index 07007be16..dc5b10d62 100644 --- a/sandstorm.js +++ b/sandstorm.js @@ -116,9 +116,10 @@ if (isSandstorm && Meteor.isServer) { mentioned: !!user.mentioned, subscribed: !!user.subscribed, }; - }).catch(() => { - // Ignore identities that fail to resolve. Probably they have lost access to the board. }); + }).catch(() => { + // Ignore identities that fail to restore. Either they were added before we set + // `saveIdentityCaps` to true, or they have lost access to the board. }); })).then((maybeUsers) => { const users = maybeUsers.filter((u) => !!u);