log _events
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 31s Details

This commit is contained in:
Ladd Hoffman 2024-04-25 16:57:51 -05:00
parent eb54ff4805
commit 80cd3439d1
1 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,7 @@ import Row from 'react-bootstrap/Row';
import Col from 'react-bootstrap/Col';
import Stack from 'react-bootstrap/Stack';
import {
WidgetApi, EventDirection, WidgetEventCapability, MatrixCapabilities,
WidgetApi, EventDirection, WidgetEventCapability, /* MatrixCapabilities, */
} from 'matrix-widget-api';
// import { MuiCapabilitiesGuard } from '@matrix-widget-toolkit/mui';
// import { useWidgetApi } from '@matrix-widget-toolkit/react';
@ -259,9 +259,12 @@ function Widget() {
console.log('widget api', widgetApi.current);
widgetApi.current.requestCapability(MatrixCapabilities.AlwaysOnScreen);
console.log('._events', widgetApi.current._events); // eslint-disable-line no-underscore-dangle
console.log('.transport._events', widgetApi.current.transport._events); // eslint-disable-line no-underscore-dangle
widgetApi.current.updateRequestedCapabilities();
// widgetApi.current.requestCapability(MatrixCapabilities.AlwaysOnScreen);
// widgetApi.current.updateRequestedCapabilities();
// widgetApi.current.requestCapabilities([
// WidgetEventCapability.forRoomEvent(