HomePhabricator
Diffusion Comm daefcb1e0956

[lib] Modify `getClientResponsesSelector` to return `Promise`

Description

[lib] Modify getClientResponsesSelector to return Promise

Summary: In order to get the signedIdentityKeysBlob, we're going to need to await commCoreModule.getUserPublicKey. As a first step, we refactor getClientResponsesSelector so we'll be able to await getUserPublicKey inside.

Test Plan:
Set breakpoints and ensure that native/web send responses as expected and keyserver continues to get responses as expected. Will also be tested implicitly by subsequent diffs.

Haven't done this yet, will test before landing.

Reviewers: ashoat, tomek

Reviewed By: ashoat

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

Details

Provenance
atulAuthored on Mar 11 2023, 12:25 PM
Reviewer
ashoat
Differential Revision
D7034: [lib] Modify `getClientResponsesSelector` to return `Promise`
Parents
rCOMM5426f346f672: [web] Introduce Jest tests for Olm
Branches
Unknown
Tags
Unknown