mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
[sandstorm]: fix bug where an identity that fails to restore could not be added to a card
This commit is contained in:
parent
5657b6f8c7
commit
74e41e420f
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue