Page MenuHomePhabricator

[keyserver] Extract uploadOneTimeKeys to a separate function
AcceptedPublic

Authored by bartek on Sun, Nov 24, 11:30 PM.

Details

Reviewers
varun
kamil
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.Mon, Nov 25, 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.Mon, Nov 25, 4:34 AM