Wrap in feature flag

This commit is contained in:
RMidhunSuresh 2023-03-28 11:50:20 +05:30
parent e0b3e9f4c4
commit f822a7a344

View File

@ -97,11 +97,14 @@ export class SessionViewModel extends ViewModel {
}));
this._updateJoinRoom(joinRoom.get());
if (this._client.session.features.crossSigning) {
const verification = this.navigation.observe("device-verification");
this.track(verification.subscribe((txnId) => {
this._updateVerification(txnId);
}));
this._updateVerification(verification.get());
}
const lightbox = this.navigation.observe("lightbox");
this.track(lightbox.subscribe(eventId => {