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
commit e56ce8d885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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