Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(config): no legacy over non-legacy override (#2644)

Paweł Domas15e1633d8643
diff --git a/react/features/base/config/reducer.js b/react/features/base/config/reducer.js
index f638d130c4..eceb94247d 100644
--- a/react/features/base/config/reducer.js
+++ b/react/features/base/config/reducer.js
@@ -157,7 +157,7 @@ function _translateLegacyConfig(oldValue: Object) {
/* eslint-enable indent */
- if (oldKey in newValue) {
+ if (oldKey in newValue && !(newKey in newValue.p2p)) {
const v = newValue[oldKey];
// Do not modify oldValue.