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

Do not take legacy property into account if there's non-legacy value.
analytics jitsi-meet_2876
Paweł Domas 7 years ago committed by Дамян Минков
parent de0a7bfcd3
commit 15e1633d86
  1. 2
      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.

Loading…
Cancel
Save