From e95d7ac91cba14114d80a2e724452d5b2c7548bb Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Fri, 26 Apr 2024 17:54:40 -0500 Subject: [PATCH] m.room.message --- frontend/src/Widget.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Widget.jsx b/frontend/src/Widget.jsx index 9713c4c..365eb8a 100644 --- a/frontend/src/Widget.jsx +++ b/frontend/src/Widget.jsx @@ -277,7 +277,7 @@ function Widget() { const sendMessageCapability = WidgetEventCapability.forRoomEvent( EventDirection.Send, - 'm.message', + 'm.room.message', ); widgetApi.current.requestCapability(sendMessageCapability.raw); widgetApi.current.updateRequestedCapabilities(); @@ -370,7 +370,7 @@ function Widget() { // TODO: Sign and send a message to the forum-api bot / to a room in matrix const registerMatrixIdentity = async () => { - await widgetApi.current.sendRoomEvent('m.message', 'test message'); + await widgetApi.current.sendRoomEvent('m.room.message', 'test message'); }; /* -------------------------------------------------------------------------------- */