mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-30 00:50:48 +08:00
Allow for null MatrixClient
This commit is contained in:
parent
9987a45475
commit
a33b40ea02
@ -196,7 +196,7 @@ export class PosthogAnalytics {
|
||||
callBackend: "livekit",
|
||||
cryptoVersion: widget
|
||||
? undefined
|
||||
: window.matrixclient.getCrypto()?.getVersion(),
|
||||
: window.matrixclient?.getCrypto()?.getVersion(),
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user