mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
Show key backup vm when cross-signing is available
This commit is contained in:
parent
6c7cb4d678
commit
b4805ab862
@ -66,6 +66,9 @@ export class KeyBackupViewModel extends ViewModel<SegmentType, Options> {
|
||||
this._onKeyBackupChange(); // update status
|
||||
};
|
||||
this.track(this._session.keyBackup.subscribe(onKeyBackupSet));
|
||||
this.track(this._session.crossSigning.subscribe(() => {
|
||||
this.emitChange("crossSigning");
|
||||
}));
|
||||
onKeyBackupSet(this._keyBackup);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user