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

Commit

Permalink
Merge pull request #5069 from matrix-org/dbkr/fix_soft_logout_warning
Browse files Browse the repository at this point in the history
Fix key backup warning on soft logout page
  • Loading branch information
dbkr authored Jul 30, 2020
2 parents 409f65d + f3320f5 commit d1bf333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/structures/auth/SoftLogout.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class SoftLogout extends React.Component {

this._initLogin();

MatrixClientPeg.get().flagAllGroupSessionsForBackup().then(remaining => {
MatrixClientPeg.get().countSessionsNeedingBackup().then(remaining => {
this.setState({keyBackupNeeded: remaining > 0});
});
}
Expand Down

0 comments on commit d1bf333

Please sign in to comment.