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)
Wed, Mar 12, 5:17 AM
Unknown Object (File)
Sat, Mar 1, 11:50 AM
Unknown Object (File)
Fri, Feb 28, 2:26 PM
Unknown Object (File)
Fri, Feb 28, 2:25 PM
Unknown Object (File)
Feb 6 2025, 9:07 AM
Unknown Object (File)
Feb 3 2025, 11:13 AM
Unknown Object (File)
Jan 30 2025, 2:54 PM
Unknown Object (File)
Jan 30 2025, 2:54 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