Allow sending room events in rtc sdk

This commit is contained in:
Timo K committed 2026-02-03 11:10:57 +01:00
1 parent 461a1f1b70
commit 18b771e620
2 files changed
+8 -2

No files matched your search

+1 -1
View File
@@ -99,7 +99,7 @@ export async function createMatrixRTCSdk(
const scope = new ObservableScope();
// widget client
initializeWidget(application);
initializeWidget(application, true);
const widget = _widget;
if (!widget) throw Error("No widget. This webapp can only start as a widget");
const client = await widget.client;