m.room.message
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 34s Details

This commit is contained in:
Ladd Hoffman 2024-04-26 17:54:40 -05:00
parent 2f6b3d4ed1
commit e95d7ac91c
1 changed files with 2 additions and 2 deletions

View File

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