wip sending widget message
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 30s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 30s
Details
This commit is contained in:
parent
0319853bc4
commit
1f2c82f4aa
|
@ -243,8 +243,9 @@ function App() {
|
|||
|
||||
useEffect(() => {
|
||||
widgetApi.current = new WidgetApi();
|
||||
// const api = widgetApi.current;
|
||||
const api = widgetApi.current;
|
||||
// api.requestCapability(MatrixCapabilities.)
|
||||
api.start();
|
||||
}, []);
|
||||
|
||||
/* -------------------------------------------------------------------------------- */
|
||||
|
@ -331,7 +332,7 @@ function App() {
|
|||
|
||||
// TODO: Sign and send a message to the forum-api bot / to a room in matrix
|
||||
const registerMatrixIdentity = async () => {
|
||||
widgetApi.current.send('m.message', 'test message');
|
||||
widgetApi.current.transport.send('m.message', 'test message');
|
||||
};
|
||||
|
||||
/* -------------------------------------------------------------------------------- */
|
||||
|
|
Loading…
Reference in New Issue