1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 08:35:57 +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)); setTitle(groupStatus.displayName || capitalise(group));
addFilters(); addFilters();
setMediaChoices(false).then(e => reflectSettings()); await setMediaChoices(false);
reflectSettings();
if(parms.has('token')) if(parms.has('token'))
token = parms.get('token'); token = parms.get('token');