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)
Sun, Apr 20, 3:05 AM
Unknown Object (File)
Sat, Apr 19, 9:07 PM
Unknown Object (File)
Sat, Apr 19, 8:30 PM
Unknown Object (File)
Sat, Apr 19, 12:30 PM
Unknown Object (File)
Mar 21 2025, 1:17 AM
Unknown Object (File)
Mar 10 2025, 8:43 AM
Unknown Object (File)
Feb 27 2025, 4:22 PM
Unknown Object (File)
Feb 24 2025, 6:05 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