Selaa lähdekoodia

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

Sandstorm restore identity bugfix
David Renshaw 8 vuotta sitten
vanhempi
sitoutus
afca7ce6da
2 muutettua tiedostoa jossa 6 lisäystä ja 5 poistoa
  1. 3 3
      sandstorm-pkgdef.capnp
  2. 3 2
      sandstorm.js

+ 3 - 3
sandstorm-pkgdef.capnp

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

+ 3 - 2
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);