Elaborate on a TODO for preloading JWT tokens

This commit is contained in:
Robin
2025-10-14 14:32:56 -04:00
parent 625cfa15ff
commit 9f4e99310b
2 changed files with 4 additions and 1 deletions

View File

@@ -120,7 +120,6 @@ export class Connection {
state: "FetchingConfig",
focus: this.localTransport,
});
// TODO could this be loaded earlier to save time?
const { url, jwt } = await this.getSFUConfigWithOpenID();
// If we were stopped while fetching the config, don't proceed to connect
if (this.stopped) return;