From 9daacc19c1bdbb76b44ae14c7e6324a1b29f3d12 Mon Sep 17 00:00:00 2001 From: Timo Date: Fri, 10 Jan 2025 10:39:43 +0100 Subject: [PATCH] fix circular import --- src/matrixrtc/MembershipManager.ts | 3 ++- src/models/thread.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/matrixrtc/MembershipManager.ts b/src/matrixrtc/MembershipManager.ts index dbca8c0c143..7dea7713f82 100644 --- a/src/matrixrtc/MembershipManager.ts +++ b/src/matrixrtc/MembershipManager.ts @@ -1,7 +1,8 @@ import { UpdateDelayedEventAction } from "../@types/requests.ts"; import { HTTPError, MatrixError } from "../http-api/errors.ts"; import { logger } from "../logger.ts"; -import { EventTimeline, EventType, MatrixClient, Room } from "../matrix.ts"; +import { EventTimeline, EventType } from "../matrix.ts"; +import type { MatrixClient, Room } from "../matrix.ts"; import { sleep } from "../utils.ts"; import { CallMembership, DEFAULT_EXPIRE_DURATION, SessionMembershipData } from "./CallMembership.ts"; import { Focus } from "./focus.ts"; diff --git a/src/models/thread.ts b/src/models/thread.ts index 79ef5af222c..40afab6a2d2 100644 --- a/src/models/thread.ts +++ b/src/models/thread.ts @@ -16,7 +16,7 @@ limitations under the License. import { Optional } from "matrix-events-sdk"; -import { MatrixClient, PendingEventOrdering } from "../client.ts"; +import { MatrixClient, PendingEventOrdering } from "../matrix.ts"; import { TypedReEmitter } from "../ReEmitter.ts"; import { RelationType } from "../@types/event.ts"; import { IThreadBundledRelationship, MatrixEvent, MatrixEventEvent } from "./event.ts";