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

This commit is contained in:
Ladd Hoffman 2024-04-25 21:54:08 -05:00
parent 4a38104d10
commit 83d43b8312
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ function Widget() {
EventDirection.Send,
'm.room.message',
);
widgetApi.current.requestCapability(sendMessageCapability);
widgetApi.current.requestCapability(sendMessageCapability.raw);
await widgetApi.current.updateRequestedCapabilities();
if (widgetApi.current.hasCapability(sendMessageCapability)) {
await widgetApi.current.sendRoomEvent('m.message', 'test message', '!HMoNkuTRLqQGhhlMNO:matrix.dgov.io');