fix export

This commit is contained in:
Half-Shot 2026-01-09 14:05:43 +00:00
parent 06f70d1d7c
commit 060ef913cc

View File

@ -25,7 +25,7 @@ import {
} from "matrix-js-sdk/src/matrix";
import { logger } from "matrix-js-sdk/src/logger";
import { type PermissionChanged as PermissionChangedEvent } from "@matrix-org/analytics-events/types/typescript/PermissionChanged";
import { type IRTCNotificationContent } from "matrix-js-sdk/src/matrixrtc";
import { parseCallNotificationContent } from "matrix-js-sdk/src/matrixrtc";
import { MatrixClientPeg } from "./MatrixClientPeg";
import { PosthogAnalytics } from "./PosthogAnalytics";
@ -495,7 +495,7 @@ class NotifierClass extends TypedEventEmitter<keyof EmittedEvents, EmittedEvents
}
if (EventType.RTCNotification === ev.getType() && !thisUserHasConnectedDevice) {
const content = ev.getContent() as IRTCNotificationContent;
const content = parseCallNotificationContent(ev.getContent());
const roomId = ev.getRoomId();
const eventId = ev.getId();