From dffa71666c2ea8695a29dacfe4d760a0abfd5c60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Mon, 4 Jul 2022 17:04:33 +0200 Subject: [PATCH] fix(rn) fix mobile build Looks like a transform error of some sort, it chokes on the ??= shorthand syntax. --- react/features/base/config/reducer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/base/config/reducer.ts b/react/features/base/config/reducer.ts index 98fa648e7..d0374a95a 100644 --- a/react/features/base/config/reducer.ts +++ b/react/features/base/config/reducer.ts @@ -306,7 +306,7 @@ function _translateLegacyConfig(oldValue: IConfig) { newValue.conferenceInfo = _getConferenceInfo(oldValue); filteredConferenceInfo.forEach(key => { - newValue.conferenceInfo ??= {}; + newValue.conferenceInfo = oldValue.conferenceInfo ?? {}; // hideRecordingLabel does not mean not render it at all, but autoHide it if (key === 'hideRecordingLabel') { newValue.conferenceInfo.alwaysVisible