From 6570ec46f4a9ba500215b7b15f65e858f74cb0a2 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 26 Sep 2022 09:02:22 +0100 Subject: [PATCH] setTurnServers doesn't need to be async --- src/matrix/calls/CallHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/calls/CallHandler.ts b/src/matrix/calls/CallHandler.ts index 183ec5a1..17aa0e55 100644 --- a/src/matrix/calls/CallHandler.ts +++ b/src/matrix/calls/CallHandler.ts @@ -75,7 +75,7 @@ export class CallHandler implements RoomStateHandler { this._loadCallEntries(callEntries, txn); } - async setTurnServers(turnServers: RTCIceServer[]) { + setTurnServers(turnServers: RTCIceServer[]) { this.options.turnServers = turnServers; this.groupCallOptions.turnServers = turnServers; // TODO: we should update any ongoing peerconnections if the TURN server details have changed