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

Sandstorm restore identity bugfix
pull/517/head
David Renshaw 9 years ago committed by GitHub
commit afca7ce6da
  1. 6
      sandstorm-pkgdef.capnp
  2. 5
      sandstorm.js

@ -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],

@ -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…
Cancel
Save