Merge pull request #8 from dwrensha/sandstorm-restore-identity-bugfix

Sandstorm restore identity bugfix
This commit is contained in:
David Renshaw 2016-11-15 15:01:33 -05:00 committed by GitHub
commit afca7ce6da
2 changed files with 6 additions and 5 deletions

View file

@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
appTitle = (defaultText = "Wekan"),
# The name of the app as it is displayed to the user.
appVersion = 14,
appVersion = 16,
# Increment this for every release.
appMarketingVersion = (defaultText = "0.11.0~2016-11-08"),
appMarketingVersion = (defaultText = "0.11.0~2016-11-15"),
# Human-readable presentation of the app version.
minUpgradableAppVersion = 0,
@ -58,7 +58,7 @@ const pkgdef :Spk.PackageDefinition = (
),
website = "https://wekan.io",
codeUrl = "https://github.com/wekan/wekan",
codeUrl = "https://github.com/wefork/wekan",
license = (openSource = mit),
categories = [productivity, office],

View file

@ -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);