From 9d8ebf8ef3211160f8ec25b88decdcd50d761b1b Mon Sep 17 00:00:00 2001 From: Valere Date: Tue, 3 Feb 2026 15:37:41 +0100 Subject: [PATCH] fix import --- src/state/CallViewModel/CallNotificationLifecycle.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/state/CallViewModel/CallNotificationLifecycle.ts b/src/state/CallViewModel/CallNotificationLifecycle.ts index 0b2bf27d..44ce2e43 100644 --- a/src/state/CallViewModel/CallNotificationLifecycle.ts +++ b/src/state/CallViewModel/CallNotificationLifecycle.ts @@ -7,6 +7,7 @@ Please see LICENSE in the repository root for full details. import { type CallMembership, + type IRTCNotificationContent, type MatrixRTCSession, MatrixRTCSessionEvent, } from "matrix-js-sdk/lib/matrixrtc"; @@ -33,11 +34,11 @@ import { EventType, type Room as MatrixRoom, RoomEvent, - type IRTCNotificationContent, } from "matrix-js-sdk"; import { type Behavior } from "../Behavior"; import { type Epoch, mapEpoch, type ObservableScope } from "../ObservableScope"; + export type AutoLeaveReason = "allOthersLeft" | "timeout" | "decline"; export type CallPickupState = | "unknown" @@ -82,6 +83,7 @@ export interface Props { options: { waitForCallPickup?: boolean; autoLeaveWhenOthersLeft?: boolean }; localUser: { deviceId: string; userId: string }; } + /** * @returns two observables: * `callPickupState$` The current call pickup state of the call.