HomePhabricator
Diffusion Comm 21d6d9f1bfa1

[web] Dispatch `setNotificationIdentityKeys` in `LoginForm`

Tags
None
Referenced Files
F399712: d2fe81.png
Feb 24 2023, 2:39 PM
File Not Attached
Subscribers
None

Description

[web] Dispatch setNotificationIdentityKeys in LoginForm

Summary:
Create notificationAccount, get identity_keys(), and dispatch setNotificationIdentityKeys action to store in Redux cryptoStore.

Note that all the logic on whether to eg enable login button, etc is still only dependent on identityED25519... this will be addressed in subsequent diffs.


Depends on D6877

Test Plan:
Actions are being dispatched correctly and cryptoStore in Redux is as expected:

d2fe81.png (506×1 px, 113 KB)

Reviewers: ashoat, tomek, marcin

Reviewed By: ashoat

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

Details

Provenance
atulAuthored on Feb 23 2023, 6:53 PM
Reviewer
ashoat
Differential Revision
D6878: [web] Dispatch `setNotificationIdentityKeys` in `LoginForm`
Parents
rCOMMad4b46f367ab: [web] Introduce `cryptoStore` to replace `primaryIdentityPublicKey` in Redux
Branches
Unknown
Tags
Unknown