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');