Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3383216
D11625.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11625.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11625: [native] call setCommServicesAuthMetadata on wallet registration
Attached
Detach File
Event Timeline
Log In to Comment