1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 15:25:48 +01:00

Call reflectSettings synchronously.

We could previously attempt to display a remote stream before
reflectSetting initialised the settings.
This commit is contained in:
Juliusz Chroboczek 2024-06-10 16:08:36 +02:00
parent e7af7cbed4
commit 58934a1a46

View file

@ -4051,7 +4051,8 @@ async function start() {
setTitle(groupStatus.displayName || capitalise(group));
addFilters();
setMediaChoices(false).then(e => reflectSettings());
await setMediaChoices(false);
reflectSettings();
if(parms.has('token'))
token = parms.get('token');