Page MenuHomePhabricator

[identity] Make set_prekey() update devices table too
ClosedPublic

Authored by bartek on Dec 12 2023, 12:58 AM.
Tags
None
Referenced Files
F3403266: D10302.id35622.diff
Tue, Dec 3, 2:42 AM
Unknown Object (File)
Thu, Nov 7, 12:00 AM
Unknown Object (File)
Oct 18 2024, 2:42 AM
Unknown Object (File)
Oct 18 2024, 2:42 AM
Unknown Object (File)
Oct 18 2024, 2:42 AM
Unknown Object (File)
Oct 18 2024, 2:42 AM
Unknown Object (File)
Sep 24 2024, 12:10 AM
Unknown Object (File)
Sep 10 2024, 6:16 PM
Subscribers

Details

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)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage