Page MenuHomePhabricator

D11625.diff
No OneTemporary

D11625.diff

diff --git a/native/identity-service/identity-service-context-provider.react.js b/native/identity-service/identity-service-context-provider.react.js
--- a/native/identity-service/identity-service-context-provider.react.js
+++ b/native/identity-service/identity-service-context-provider.react.js
@@ -381,7 +381,7 @@
) => {
await commCoreModule.initializeCryptoAccount();
const [
- { blobPayload, signature },
+ { blobPayload, signature, primaryIdentityPublicKeys },
{ contentOneTimeKeys, notificationsOneTimeKeys },
prekeys,
] = await Promise.all([
@@ -409,10 +409,18 @@
username: walletAddress,
};
- return assertWithValidator(
+ const validatedResult = assertWithValidator(
identityAuthResult,
identityAuthResultValidator,
);
+
+ await commCoreModule.setCommServicesAuthMetadata(
+ validatedResult.userID,
+ primaryIdentityPublicKeys.ed25519,
+ validatedResult.accessToken,
+ );
+
+ return validatedResult;
},
logInWalletUser: async (
walletAddress: string,

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 29, 2:25 PM (21 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2597234
Default Alt Text
D11625.diff (1 KB)

Event Timeline