text event
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 34s Details

This commit is contained in:
Ladd Hoffman 2024-04-26 17:59:17 -05:00
parent e95d7ac91c
commit 6a2b647b4b
1 changed files with 4 additions and 1 deletions

View File

@ -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',
});
};
/* -------------------------------------------------------------------------------- */