summaryrefslogtreecommitdiffstats
path: root/sandstorm.js
diff options
context:
space:
mode:
authorDavid Renshaw <dwrenshaw@gmail.com>2016-11-15 15:01:33 -0500
committerGitHub <noreply@github.com>2016-11-15 15:01:33 -0500
commitafca7ce6dab51636b5a6bf9e50719c3d0dc47f4d (patch)
treead8dd2b52a5d4cb696e5579597d8e245bbb4b3bf /sandstorm.js
parent5657b6f8c76d615517953b6acb9e3481ec931e33 (diff)
parent693053555547d417322973ccefc3ef63c5a0f743 (diff)
downloadwekan-afca7ce6dab51636b5a6bf9e50719c3d0dc47f4d.tar.gz
wekan-afca7ce6dab51636b5a6bf9e50719c3d0dc47f4d.tar.bz2
wekan-afca7ce6dab51636b5a6bf9e50719c3d0dc47f4d.zip
Merge pull request #8 from dwrensha/sandstorm-restore-identity-bugfix
Sandstorm restore identity bugfix
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);