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
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
Unknown Object (File)
Sep 6 2024, 9:10 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
Lint Not Applicable
Unit
Tests Not Applicable