twiddle
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 33s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 33s
Details
This commit is contained in:
parent
9e5ccf6470
commit
6f4b2855a8
|
@ -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');
|
||||
};
|
||||
|
||||
/* -------------------------------------------------------------------------------- */
|
||||
|
|
Loading…
Reference in New Issue