HomePhabricator
Diffusion Comm a9f48d77d6a5

[lib] refactor `createOlmSessionWithPeer` -> `createOlmSessionsWithUser`

Description

[lib] refactor createOlmSessionWithPeer -> createOlmSessionsWithUser

Summary:
ENG-9106.

This API better matches Identity API, which returns data for all user devices.

Additionally, session creation for each device is done in parallel.

Test Plan: Tested in D13376

Reviewers: bartek, tomek, marcin

Reviewed By: bartek, tomek

Subscribers: ashoat

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

Details

Provenance
kamilAuthored on Sep 17 2024, 5:43 AM
Reviewer
bartek
Differential Revision
D13371: [lib] refactor `createOlmSessionWithPeer` -> `createOlmSessionsWithUser`
Parents
rCOMM889062800edb: [lib] create new session on `SESSION_DOES_NOT_EXIST` error
Branches
Unknown
Tags
Unknown