Subscribe to the ecall reaction event type.

This commit is contained in:
Half-Shot
2024-11-01 17:23:29 +00:00
parent e3c23fa2cf
commit a60d48965b

View File

@@ -15,6 +15,7 @@ import type { IWidgetApiRequest } from "matrix-widget-api";
import { LazyEventEmitter } from "./LazyEventEmitter"; import { LazyEventEmitter } from "./LazyEventEmitter";
import { getUrlParams } from "./UrlParams"; import { getUrlParams } from "./UrlParams";
import { Config } from "./config/Config"; import { Config } from "./config/Config";
import { ElementCallReactionEventType } from "./reactions";
// Subset of the actions in matrix-react-sdk // Subset of the actions in matrix-react-sdk
export enum ElementWidgetActions { export enum ElementWidgetActions {
@@ -105,6 +106,7 @@ export const widget = ((): WidgetHelpers | null => {
EventType.CallEncryptionKeysPrefix, EventType.CallEncryptionKeysPrefix,
EventType.Reaction, EventType.Reaction,
EventType.RoomRedaction, EventType.RoomRedaction,
ElementCallReactionEventType,
]; ];
const sendState = [ const sendState = [