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
F2153007: D10302.id.diff
Sun, Jun 30, 4:34 PM
Unknown Object (File)
Wed, Jun 26, 4:54 AM
Unknown Object (File)
Tue, Jun 25, 12:20 PM
Unknown Object (File)
Tue, Jun 25, 12:20 PM
Unknown Object (File)
Tue, Jun 25, 12:20 PM
Unknown Object (File)
Tue, Jun 25, 12:19 PM
Unknown Object (File)
May 23 2024, 3:38 AM
Unknown Object (File)
May 20 2024, 5: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