twiddle
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 33s Details

This commit is contained in:
Ladd Hoffman 2024-04-25 22:08:42 -05:00
parent 9e5ccf6470
commit 6f4b2855a8
1 changed files with 8 additions and 8 deletions

View File

@ -274,16 +274,16 @@ function Widget() {
widgetApi.current.on('ready', (e) => {
console.log('WIDGET READY', e);
const sendMessageCapability = WidgetEventCapability.forRoomEvent(
EventDirection.Send,
'm.room.message',
);
widgetApi.current.requestCapability(sendMessageCapability.raw);
widgetApi.current.updateRequestedCapabilities();
});
widgetApi.current.start();
const sendMessageCapability = WidgetEventCapability.forRoomEvent(
EventDirection.Send,
'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', '!HMoNkuTRLqQGhhlMNO:matrix.dgov.io');
await widgetApi.current.sendRoomEvent('m.message', 'test message');
};
/* -------------------------------------------------------------------------------- */