Remove some dead code
This commit is contained in:
@@ -16,13 +16,6 @@ export interface SFUConfig {
|
|||||||
jwt: string;
|
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
|
// The bits we need from MatrixClient
|
||||||
export type OpenIDClientParts = Pick<
|
export type OpenIDClientParts = Pick<
|
||||||
MatrixClient,
|
MatrixClient,
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user