Handle ManagedHybrid widgets in useRoomCall and mark them in the widget state event

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2023-09-11 11:39:30 +01:00
parent 5a2595a093
commit 569832bc24
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D
4 changed files with 21 additions and 8 deletions

View file

@ -332,7 +332,7 @@ export default class WidgetUtils {
client: MatrixClient,
roomId: string,
widgetId: string,
content: IWidget,
content: IWidget & Record<string, any>,
): Promise<void> {
const addingWidget = !!content.url;