HomePhabricator
Diffusion Comm ce4caaefb0f1

[native] implement prekey rotation handler and call Identity

Description

[native] implement prekey rotation handler and call Identity

Summary:

  1. Change JSI method to accept metadata to properly auth with Identity
  2. Add component to call this after app is opened
  3. Add line to call Identity RPC using std::promise

Test Plan:

  1. Test if method is called
  2. Test if uploading works (can be done by making prekey rotation is needed) and verify this by inspecting DDB content
  3. Test if old cryptoModule is restored when RPC fails

Reviewers: marcin, michal, varun

Reviewed By: marcin

Subscribers: ashoat, tomek

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

Details

Provenance
kamilAuthored on Jan 15 2024, 6:25 AM
Reviewer
marcin
Differential Revision
D10631: [native] implement prekey rotation handler and call Identity
Parents
rCOMM43149a92ccca: [web] ens resolve usernames in the reaction tooltip
Branches
Unknown
Tags
Unknown