mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Merge pull request #5069 from matrix-org/dbkr/fix_soft_logout_warning
Fix key backup warning on soft logout page
This commit is contained in:
commit
d1bf333cce
@ -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});
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user