From c8eb727bedea2e28ef6bd83feff781f9ceb55e36 Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Wed, 24 Apr 2024 18:10:05 -0500 Subject: [PATCH] try logging when receiving a message --- frontend/src/App.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index ad17e76..b1b8ae5 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -245,6 +245,9 @@ function App() { widgetApi.current = new WidgetApi(); const api = widgetApi.current; // api.requestCapability(MatrixCapabilities.) + api.on('action:m.message', (ev) => { + console.log('action:m.message', ev); + }); api.start(); }, []);