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
F2127746: D12443.id41342.diff
Thu, Jun 27, 8:35 AM
Unknown Object (File)
Wed, Jun 26, 4:08 PM
Unknown Object (File)
Wed, Jun 26, 2:41 PM
Unknown Object (File)
Wed, Jun 26, 11:13 AM
Unknown Object (File)
Tue, Jun 25, 10:56 PM
Unknown Object (File)
Tue, Jun 25, 4:24 AM
Unknown Object (File)
Mon, Jun 24, 7:36 AM
Unknown Object (File)
Sat, Jun 22, 4:41 AM
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
Branch
webping (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage