mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-22 18:21:39 +01:00
Wrap in feature flag
This commit is contained in:
parent
e0b3e9f4c4
commit
f822a7a344
@ -97,11 +97,14 @@ export class SessionViewModel extends ViewModel {
|
|||||||
}));
|
}));
|
||||||
this._updateJoinRoom(joinRoom.get());
|
this._updateJoinRoom(joinRoom.get());
|
||||||
|
|
||||||
|
if (this._client.session.features.crossSigning) {
|
||||||
|
|
||||||
const verification = this.navigation.observe("device-verification");
|
const verification = this.navigation.observe("device-verification");
|
||||||
this.track(verification.subscribe((txnId) => {
|
this.track(verification.subscribe((txnId) => {
|
||||||
this._updateVerification(txnId);
|
this._updateVerification(txnId);
|
||||||
}));
|
}));
|
||||||
this._updateVerification(verification.get());
|
this._updateVerification(verification.get());
|
||||||
|
}
|
||||||
|
|
||||||
const lightbox = this.navigation.observe("lightbox");
|
const lightbox = this.navigation.observe("lightbox");
|
||||||
this.track(lightbox.subscribe(eventId => {
|
this.track(lightbox.subscribe(eventId => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user