Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change initial key backup to background #820

Merged
merged 3 commits into from
Jan 9, 2019

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Jan 9, 2019

Alters the APIs used for initial key backup so that the actual upload happens in
the background after all session are marked for backup.

In addition, this also emits a counts of sessions remaining to backup to drive an upload progress UI.

Needed for element-hq/element-web#7863.
Used in matrix-org/matrix-react-sdk#2416.

Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise looks good though

src/crypto/index.js Outdated Show resolved Hide resolved
This will be used in the React SDK to display upload progress when there are
many sessions to upload.
This ensures a partially completed backup will continue to make progress.
Alters the APIs used for initial key backup so that the actual upload happens in
the background after all session are marked for backup.
@jryans jryans merged commit 25681e8 into matrix-org:experimental Jan 9, 2019
@renovate renovate bot mentioned this pull request Nov 21, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants