diff --git a/src/sliding-sync.ts b/src/sliding-sync.ts index 2c42751a08d..480ee818cf2 100644 --- a/src/sliding-sync.ts +++ b/src/sliding-sync.ts @@ -19,7 +19,6 @@ import { MatrixClient } from "./client"; import { IRoomEvent, IStateEvent } from "./sync-accumulator"; import { TypedEventEmitter } from "./models/typed-event-emitter"; import { sleep, IDeferred, defer } from "./utils"; -import { ConnectionError } from "./http-api"; // /sync requests allow you to set a timeout= but the request may continue // beyond that and wedge forever, so we need to track how long we are willing @@ -852,7 +851,7 @@ export class SlidingSync extends TypedEventEmitter