Page MenuHomePhabricator

[keyserver] Extract uploadOneTimeKeys to a separate function
ClosedPublic

Authored by bartek on Nov 24 2024, 11:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 26, 5:51 AM
Unknown Object (File)
Thu, Dec 26, 5:51 AM
Unknown Object (File)
Thu, Dec 26, 5:51 AM
Unknown Object (File)
Thu, Dec 26, 5:45 AM
Unknown Object (File)
Sun, Dec 22, 7:56 AM
Unknown Object (File)
Mon, Dec 16, 3:21 AM
Unknown Object (File)
Sat, Dec 14, 5:47 PM
Unknown Object (File)
Wed, Dec 11, 7:40 AM
Subscribers

Details

Summary

Needed for ENG-6544 to handle invalid auth from one place

Test Plan

Flow, ran keyserver locally

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Nov 25 2024, 2:06 AM
kamil added inline comments.
keyserver/src/utils/olm-utils.js
211

Looking in the diffs later in the stack, verifyUserLoggedIn is called in extracted functions and also in all other functions in /identity-utils.js. I would do the same here

This revision is now accepted and ready to land.Nov 25 2024, 4:34 AM
keyserver/src/utils/olm-utils.js
211

I left it on purpose because in between some Olm actions are performed, which can be skipped when identity info is null