Page MenuHomePhabricator

[keyserver] Extract uploadOneTimeKeys to a separate function
ClosedPublic

Authored by bartek on Nov 24 2024, 11:30 PM.
Tags
None
Referenced Files
F3604539: D14026.id46061.diff
Tue, Dec 31, 1:16 PM
Unknown Object (File)
Mon, Dec 30, 5:06 AM
Unknown Object (File)
Mon, Dec 30, 3:05 AM
Unknown Object (File)
Sun, Dec 29, 4:40 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:51 AM
Unknown Object (File)
Thu, Dec 26, 5:45 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
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #45980)

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 ↗(On Diff #45980)

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