diff --git a/frontend/src/Widget.jsx b/frontend/src/Widget.jsx index 365eb8a..7b8ccd7 100644 --- a/frontend/src/Widget.jsx +++ b/frontend/src/Widget.jsx @@ -370,7 +370,10 @@ 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.room.message', 'test message'); + await widgetApi.current.sendRoomEvent('m.room.message', { + body: 'test message', + msgtype: 'm.text', + }); }; /* -------------------------------------------------------------------------------- */