From a60d48965b0632a7f9300a473ef6ae8d2700afdd Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Fri, 1 Nov 2024 17:23:29 +0000 Subject: [PATCH] Subscribe to the ecall reaction event type. --- src/widget.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/widget.ts b/src/widget.ts index 9d3da479..fb1b1cfd 100644 --- a/src/widget.ts +++ b/src/widget.ts @@ -15,6 +15,7 @@ import type { IWidgetApiRequest } from "matrix-widget-api"; import { LazyEventEmitter } from "./LazyEventEmitter"; import { getUrlParams } from "./UrlParams"; import { Config } from "./config/Config"; +import { ElementCallReactionEventType } from "./reactions"; // Subset of the actions in matrix-react-sdk export enum ElementWidgetActions { @@ -105,6 +106,7 @@ export const widget = ((): WidgetHelpers | null => { EventType.CallEncryptionKeysPrefix, EventType.Reaction, EventType.RoomRedaction, + ElementCallReactionEventType, ]; const sendState = [