Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Fix key backup warning on soft logout page - #5069

Merged
dbkr merged 1 commit into
developfrom
dbkr/fix_soft_logout_warning
Jul 30, 2020
Merged

Fix key backup warning on soft logout page#5069
dbkr merged 1 commit into
developfrom
dbkr/fix_soft_logout_warning

Conversation

@dbkr

@dbkr dbkr commented Jul 30, 2020

Copy link
Copy Markdown
Member

It always showed the warning (if you had at least one session key
in your store) because flagAllGroupSessionsForBackup returns the
number of keys pending backup after flagging them all for backup,
ie. all of them. Seems like the intention was to only show the
warning if there were keys that had not yet been backed up.

Fixes element-hq/element-web#14829
Requires matrix-org/matrix-js-sdk#1429

It always showed the warning (if you had at least one session key
in your store) because flagAllGroupSessionsForBackup returns the
number of keys pending backup after flagging them all for backup,
ie. all of them. Seems like the intention was to only show the
warning if there were keys that had not yet been backed up.

Fixes element-hq/element-web#14829
Requires matrix-org/matrix-js-sdk#1429
@dbkr
dbkr requested a review from a team July 30, 2020 18:12
@dbkr
dbkr merged commit d1bf333 into develop Jul 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SoftLogout schedules all message keys for backup

2 participants