From 068f51123847a67f484e2babf5aa63f41e94d8f4 Mon Sep 17 00:00:00 2001 From: Timo K Date: Mon, 19 Feb 2024 09:14:07 +0100 Subject: [PATCH] use via argument in join room call. Signed-off-by: Timo K --- src/room/useLoadGroupCall.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/room/useLoadGroupCall.ts b/src/room/useLoadGroupCall.ts index 9b300d36..3ab6bbf5 100644 --- a/src/room/useLoadGroupCall.ts +++ b/src/room/useLoadGroupCall.ts @@ -85,7 +85,7 @@ export const useLoadGroupCall = ( // room IDs we just try to join by their ID, which will not work in the // general case without providing some servers to join via. We could provide // our own server, but in practice that is implicit. - room = await client.joinRoom(roomIdOrAlias); + room = await client.joinRoom(roomIdOrAlias, { viaServers }); } logger.info(