Show key backup vm when cross-signing is available

This commit is contained in:
RMidhunSuresh 2023-06-07 14:51:16 +05:30
parent 6c7cb4d678
commit b4805ab862

View File

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