diff --git a/src/CallHandler.tsx b/src/CallHandler.tsx index 2ff018d4d6..849859eb20 100644 --- a/src/CallHandler.tsx +++ b/src/CallHandler.tsx @@ -495,6 +495,7 @@ export default class CallHandler { const roomInfo = WidgetStore.instance.getRoom(roomId); if (!roomInfo) return; // "should never happen" clauses go here + // TODO: [TravisR] Fix this const jitsiWidgets = roomInfo.widgets.filter(w => WidgetType.JITSI.matches(w.type)); jitsiWidgets.forEach(w => { const messaging = ActiveWidgetStore.getWidgetMessaging(w.id); diff --git a/src/components/views/right_panel/WidgetCard.tsx b/src/components/views/right_panel/WidgetCard.tsx index 1677494708..b0eefb0fed 100644 --- a/src/components/views/right_panel/WidgetCard.tsx +++ b/src/components/views/right_panel/WidgetCard.tsx @@ -77,6 +77,7 @@ const WidgetCard: React.FC = ({ room, widgetId, onClose }) => { let contextMenu; if (menuDisplayed) { let snapshotButton; + // TODO: [TravisR] Fix this if (ActiveWidgetStore.widgetHasCapability(app.id, Capability.Screenshot)) { const onSnapshotClick = () => { WidgetUtils.snapshotWidget(app); diff --git a/src/components/views/rooms/Stickerpicker.js b/src/components/views/rooms/Stickerpicker.js index dba25a94cf..548e1d02bb 100644 --- a/src/components/views/rooms/Stickerpicker.js +++ b/src/components/views/rooms/Stickerpicker.js @@ -212,6 +212,7 @@ export default class Stickerpicker extends React.Component { _sendVisibilityToWidget(visible) { if (!this.state.stickerpickerWidget) return; + // TODO: [TravisR] Fix this const widgetMessaging = ActiveWidgetStore.getWidgetMessaging(this.state.stickerpickerWidget.id); if (widgetMessaging && visible !== this._prevSentVisibility) { widgetMessaging.sendVisibility(visible);