Merge pull request #5069 from matrix-org/dbkr/fix_soft_logout_warning

Fix key backup warning on soft logout page
pull/21833/head
David Baker 2020-07-30 22:46:28 +01:00 committed by GitHub
commit d1bf333cce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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});
});
}