From f76319221fc68f283854aa42d2d01df5dc372eda Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Mon, 27 Jan 2025 15:16:14 +0100 Subject: [PATCH] Remove deprecated `DeviceInfo` in `webrtc/call.ts` (#4654) * chore(legacy call): Remove `DeviceInfo` usage * refactor(legacy call): throw `GroupCallUnknownDeviceError` at the end of `initOpponentCrypto` --- src/webrtc/call.ts | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/webrtc/call.ts b/src/webrtc/call.ts index 6ab15d48b8..ac1fde665d 100644 --- a/src/webrtc/call.ts +++ b/src/webrtc/call.ts @@ -48,7 +48,6 @@ import { import { CallFeed } from "./callFeed.ts"; import { MatrixClient } from "../client.ts"; import { EventEmitterEvents, TypedEventEmitter } from "../models/typed-event-emitter.ts"; -import { DeviceInfo } from "../crypto/deviceinfo.ts"; import { GroupCallUnknownDeviceError } from "./groupCall.ts"; import { IScreensharingOpts } from "./mediaHandler.ts"; import { MatrixError } from "../http-api/index.ts"; @@ -426,7 +425,7 @@ export class MatrixCall extends TypedEventEmitter