HomePhabricator
Diffusion Comm eaef1fac6184

[web] mark otks as published before attempting to upload keys to identity

Description

[web] mark otks as published before attempting to upload keys to identity

Summary:
we already mark the otks as published before calling uploadOneTimeKeys, but we need to mark them as published before calling uploadKeysForRegisteredDeviceAndLogIn

Depends on D12466

note that we don't upload OTKs on normal login anymore

Test Plan: disabled the uploadKeysForRegisteredDeviceAndLogIn RPC and confirmed that the OTKs were still marked as published

Reviewers: kamil, marcin

Reviewed By: marcin

Subscribers: marcin, kamil, tomek

Differential Revision: https://phab.comm.dev/D12467

Details