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

Fix key backup warning on soft logout page #5069

Merged
merged 1 commit into from
Jul 30, 2020

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Jul 30, 2020

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