mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
Only show key backup reminder when confirmed by server to be missing
The key backup reminder was being shown too eagerly in cases when we hadn't actually checked with the homeserver on key backup status. This changes to only show the reminder when we're sure a backup doesn't exist. Fixes https://github.com/vector-im/riot-web/issues/13404
This commit is contained in:
parent
3502b90aeb
commit
d3ce4072d4
1 changed files with 1 additions and 1 deletions
|
@ -1768,7 +1768,7 @@ export default createReactClass({
|
|||
const showRoomRecoveryReminder = (
|
||||
SettingsStore.getValue("showRoomRecoveryReminder") &&
|
||||
this.context.isRoomEncrypted(this.state.room.roomId) &&
|
||||
!this.context.getKeyBackupEnabled()
|
||||
this.context.getKeyBackupEnabled() === false
|
||||
);
|
||||
|
||||
const hiddenHighlightCount = this._getHiddenHighlightCount();
|
||||
|
|
Loading…
Reference in a new issue