Page MenuHomePhabricator

[keyserver] move mark_prekey_as_published calls inside of publishPrekeysToIdentity
ClosedPublic

Authored by varun on Jun 14 2024, 11:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 2, 4:08 AM
Unknown Object (File)
Nov 1 2024, 1:29 PM
Unknown Object (File)
Oct 20 2024, 2:07 PM
Unknown Object (File)
Oct 20 2024, 2:07 PM
Unknown Object (File)
Oct 20 2024, 2:06 PM
Unknown Object (File)
Oct 20 2024, 2:05 PM
Unknown Object (File)
Sep 28 2024, 7:52 AM
Unknown Object (File)
Sep 23 2024, 11:34 PM
Subscribers

Details

Summary

we always call mark_prekey_as_published after calling publishPrekeysToIdentity (except in an old migration, which won't be run again), so we can just move the call inside the function.

Depends on D12442

Test Plan

generated new unpublished prekeys and called validateAndUploadAccountPrekeys, confirmed that the prekeys were uploaded to identity and marked as published

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable