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

Only show key backup reminder when confirmed by server to be missing
pull/21833/head
J. Ryan Stinnett 2020-04-30 17:21:13 +01:00 committed by GitHub
commit e56ce8d885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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();