Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo K
2025-08-26 18:28:53 +02:00
parent e30142a43b
commit a91c71a8e4
2 changed files with 7 additions and 8 deletions

View File

@@ -1300,8 +1300,6 @@ describe("shouldWaitForCallPickup$", () => {
remoteParticipants$: remote$,
rtcMembers$: rtc$,
connectionState$: of(ConnectionState.Connected),
speaking: new Map(),
mediaDevices: mockMediaDevices({}),
},
(vm, rtcSession) => {
// Notify at 5ms so we enter ringing, then success at 20ms
@@ -1309,12 +1307,15 @@ describe("shouldWaitForCallPickup$", () => {
r: () => {
rtcSession.emit(
MatrixRTCSessionEvent.DidSendCallNotification,
{ event_id: "$notif2", lifetime: 100 } as unknown as {
{
event_id: "$notif2",
lifetime: 100,
} as unknown as IRTCNotificationContent & {
event_id: string;
} & IRTCNotificationContent,
{ event_id: "$notif2" } as unknown as {
},
{ event_id: "$notif2" } as unknown as ICallNotifyContent & {
event_id: string;
} & ICallNotifyContent,
},
);
},
});

View File

@@ -55,8 +55,6 @@ import {
import { logger } from "matrix-js-sdk/lib/logger";
import {
type CallMembership,
type ICallNotifyContent,
type IRTCNotificationContent,
type MatrixRTCSession,
MatrixRTCSessionEvent,
MatrixRTCSessionEventHandlerMap,