HomePhabricator
Diffusion Comm 478280da1600

[identity] Make set_prekey() update devices table too

Description

[identity] Make set_prekey() update devices table too

Summary:
Updated DatabaseClient::set_prekey to also update the devices table with the new prekey (double-writing).

Depends on D10301

Test Plan: Called RefreshUserPreKeys RPC and checked with awslocal dynamodb scan that both users and devices table were updated correctly (with the same prekeys)

Reviewers: varun, michal

Reviewed By: varun

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on Dec 11 2023, 9:39 AM
Reviewer
varun
Differential Revision
D10302: [identity] Make set_prekey() update devices table too
Parents
rCOMMb87de1144e69: [identity] Add devices to the new list after login and register
Branches
Unknown
Tags
Unknown