HomePhabricator
Diffusion Comm 3653d5b6fd80

[CommRustModule] update `getOutboundKeys` to return all devices

Description

[CommRustModule] update getOutboundKeys to return all devices

Summary:
To create a session with all other devices of a given user we don't know the IDs of specific devices so we need to get all of them.
I think it's more convenient to update this method (later we can filter if we want a specific ID) rather than introducing a new JSI method.

Depends on D10372

Test Plan:

  1. Login to staging Identity (loginPasswordUser) on two devices using the same account.
  2. Call this method and check if the result is correct (two devices).

Reviewers: marcin, varun, michal

Reviewed By: varun, michal

Subscribers: ashoat, tomek

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

Details

Provenance
kamilAuthored on Dec 12 2023, 11:10 AM
Reviewer
varun
Differential Revision
D10373: [CommRustModule] update `getOutboundKeys` to return all devices
Parents
rCOMMf38ca8fbc503: [CommCoreModule] persist account after generating prekeys and one-time keys
Branches
Unknown
Tags
Unknown