HomePhabricator
Diffusion Comm 2c44e13ce108

[web] implementing publishing prekeys to Identity

Tags
None
Referenced Files
F1181304: image.png
Feb 26 2024, 5:46 AM
File Not Attached
Subscribers
None

Description

[web] implementing publishing prekeys to Identity

Summary:
This code is web specific - so I think it's butter to implement it this way than adding this to IdentityServiceClient and mocking on native.
On native this method is used only from C++ level and is not exposed to JS.

Depends on D11109

Test Plan:
Call this method and check in staging DDB that prekeys were updated.

await publishPrekeysToIdentity({
  contentPrekey: 'test0',
  contentPrekeySignature: 'test1',
  notifPrekey: 'test2',
  notifPrekeySignature: 'test3',
}, identityClient);

image.png (928×2 px, 152 KB)

Reviewers: marcin, varun, tomek

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D11110

Details

Provenance
kamilAuthored on Feb 19 2024, 8:27 AM
Reviewer
tomek
Differential Revision
D11110: [web] implementing publishing prekeys to Identity
Parents
rCOMMb68a0ed98658: [comm lib] Add additional features
Branches
Unknown
Tags
Unknown