Page MenuHomePhabricator

[keyserver] move mark_prekey_as_published calls inside of publishPrekeysToIdentity
ClosedPublic

Authored by varun on Fri, Jun 14, 11:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 22, 4:41 AM
Unknown Object (File)
Fri, Jun 21, 11:20 AM
Unknown Object (File)
Thu, Jun 20, 10:24 PM
Unknown Object (File)
Thu, Jun 20, 7:16 PM
Unknown Object (File)
Thu, Jun 20, 9:40 AM
Unknown Object (File)
Wed, Jun 19, 1:11 AM
Unknown Object (File)
Tue, Jun 18, 1:19 PM
Unknown Object (File)
Tue, Jun 18, 1:19 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