1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-14 19:02:33 +03:00

Merge pull request #4534 from matrix-org/jryans/key-backup-network-fail

Only show key backup reminder when confirmed by server to be missing
This commit is contained in:
J. Ryan Stinnett
2020-04-30 17:21:13 +01:00
committed by GitHub

View File

@@ -1768,7 +1768,7 @@ export default createReactClass({
const showRoomRecoveryReminder = ( const showRoomRecoveryReminder = (
SettingsStore.getValue("showRoomRecoveryReminder") && SettingsStore.getValue("showRoomRecoveryReminder") &&
this.context.isRoomEncrypted(this.state.room.roomId) && this.context.isRoomEncrypted(this.state.room.roomId) &&
!this.context.getKeyBackupEnabled() this.context.getKeyBackupEnabled() === false
); );
const hiddenHighlightCount = this._getHiddenHighlightCount(); const hiddenHighlightCount = this._getHiddenHighlightCount();