Allow sending room events in rtc sdk

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

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;