Federated room joins (#2188)

This commit is contained in:
Timo
2024-02-21 15:41:59 +01:00
committed by GitHub
parent 1dfe378700
commit c4075f736f
2 changed files with 2 additions and 4 deletions

View File

@@ -189,6 +189,7 @@ export async function initClient(
}
await client.initCrypto();
client.setGlobalErrorOnUnknownDevices(false);
await client.startClient();
await waitForSync(client);

View File

@@ -82,10 +82,7 @@ export const useLoadGroupCall = (
);
}
} else {
// 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(