diff --git a/src/livekit/openIDSFU.ts b/src/livekit/openIDSFU.ts index a288ec57..70d1786d 100644 --- a/src/livekit/openIDSFU.ts +++ b/src/livekit/openIDSFU.ts @@ -16,13 +16,6 @@ export interface SFUConfig { jwt: string; } -export function sfuConfigEquals(a?: SFUConfig, b?: SFUConfig): boolean { - if (a === undefined && b === undefined) return true; - if (a === undefined || b === undefined) return false; - - return a.jwt === b.jwt && a.url === b.url; -} - // The bits we need from MatrixClient export type OpenIDClientParts = Pick< MatrixClient, diff --git a/src/utils/abortHandle.ts b/src/utils/abortHandle.ts deleted file mode 100644 index f4bb2ef5..00000000 --- a/src/utils/abortHandle.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright 2025 New Vector Ltd. - -SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial -Please see LICENSE in the repository root for full details. -*/ - -export class AbortHandle { - public constructor(private aborted = false) {} - - public abort(): void { - this.aborted = true; - } - - public isAborted(): boolean { - return this.aborted; - } -}