From 83d43b8312a554450fba570b3ac662e5c25d8649 Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Thu, 25 Apr 2024 21:54:08 -0500 Subject: [PATCH] caapbility string --- frontend/src/Widget.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Widget.jsx b/frontend/src/Widget.jsx index 4e42221..45ef910 100644 --- a/frontend/src/Widget.jsx +++ b/frontend/src/Widget.jsx @@ -367,7 +367,7 @@ function Widget() { EventDirection.Send, 'm.room.message', ); - widgetApi.current.requestCapability(sendMessageCapability); + widgetApi.current.requestCapability(sendMessageCapability.raw); await widgetApi.current.updateRequestedCapabilities(); if (widgetApi.current.hasCapability(sendMessageCapability)) { await widgetApi.current.sendRoomEvent('m.message', 'test message', '!HMoNkuTRLqQGhhlMNO:matrix.dgov.io');