fixup
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 36s Details

This commit is contained in:
Ladd Hoffman 2024-04-25 22:03:20 -05:00
parent ab103d3038
commit 9e5ccf6470
1 changed files with 1 additions and 5 deletions

View File

@ -370,11 +370,7 @@ function Widget() {
// TODO: Sign and send a message to the forum-api bot / to a room in matrix
const registerMatrixIdentity = async () => {
if (widgetApi.current.hasCapability(sendMessageCapability)) {
await widgetApi.current.sendRoomEvent('m.message', 'test message', '!HMoNkuTRLqQGhhlMNO:matrix.dgov.io');
} else {
console.log('Widget has not been granted the send message capability');
}
await widgetApi.current.sendRoomEvent('m.message', 'test message', '!HMoNkuTRLqQGhhlMNO:matrix.dgov.io');
};
/* -------------------------------------------------------------------------------- */