summaryrefslogtreecommitdiffstats
path: root/sandstorm.js
diff options
context:
space:
mode:
authorDavid Renshaw <david@sandstorm.io>2016-11-15 14:34:37 -0500
committerDavid Renshaw <david@sandstorm.io>2016-11-15 14:39:23 -0500
commit74e41e420fd99703bd38a831f80f1cde7058d96f (patch)
treef5cf6ee39b7755e58e06f6ac5c14d3f30490e4ca /sandstorm.js
parent5657b6f8c76d615517953b6acb9e3481ec931e33 (diff)
downloadwekan-74e41e420fd99703bd38a831f80f1cde7058d96f.tar.gz
wekan-74e41e420fd99703bd38a831f80f1cde7058d96f.tar.bz2
wekan-74e41e420fd99703bd38a831f80f1cde7058d96f.zip
[sandstorm]: fix bug where an identity that fails to restore could not be added to a card
Diffstat (limited to 'sandstorm.js')
-rw-r--r--sandstorm.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/sandstorm.js b/sandstorm.js
index 07007be1..dc5b10d6 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);