Skip to content

Expose countSessionsNeedingBackup - #1429

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

Expose countSessionsNeedingBackup#1429
dbkr merged 1 commit into
developfrom
dbkr/countSessionsNeedingBackup

Conversation

@dbkr

@dbkr dbkr commented Jul 30, 2020

Copy link
Copy Markdown
Member

Useful to see the number of keys waiting for backup (it's exposed
via events but you couldn't get it directly). Also clarify doc on
the return value of flagAllGroupSessionsForBackup which was not
technically incorrect...

Useful to see the number of keys waiting for backup (it's exposed
via events but you couldn;t get it directly). Also clarify doc on
the return value of `flagAllGroupSessionsForBackup` which was not
technically incorrect...
@dbkr
dbkr requested a review from a team July 30, 2020 18:09
dbkr added a commit to matrix-org/matrix-react-sdk that referenced this pull request 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
@dbkr
dbkr merged commit 2e26015 into develop Jul 30, 2020
@t3chguy
t3chguy deleted the dbkr/countSessionsNeedingBackup branch May 10, 2022 14:33
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.

2 participants