Allow for null MatrixClient

This commit is contained in:
Hugh Nimmo-Smith
2024-09-03 10:22:17 +01:00
parent 9987a45475
commit a33b40ea02
+1 -1
View File
@@ -196,7 +196,7 @@ export class PosthogAnalytics {
callBackend: "livekit",
cryptoVersion: widget
? undefined
: window.matrixclient.getCrypto()?.getVersion(),
: window.matrixclient?.getCrypto()?.getVersion(),
};
}