Federated room joins (#2188)
This commit is contained in:
@@ -189,6 +189,7 @@ export async function initClient(
|
|||||||
}
|
}
|
||||||
|
|
||||||
await client.initCrypto();
|
await client.initCrypto();
|
||||||
|
client.setGlobalErrorOnUnknownDevices(false);
|
||||||
await client.startClient();
|
await client.startClient();
|
||||||
await waitForSync(client);
|
await waitForSync(client);
|
||||||
|
|
||||||
|
|||||||
@@ -82,10 +82,7 @@ export const useLoadGroupCall = (
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// room IDs we just try to join by their ID, which will not work in the
|
room = await client.joinRoom(roomIdOrAlias, { viaServers });
|
||||||
// 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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info(
|
logger.info(
|
||||||
|
|||||||
Reference in New Issue
Block a user