Rename remote config flag
This commit is contained in:
parent
260ae89489
commit
15714f35ef
4 changed files with 8 additions and 8 deletions
|
@ -191,7 +191,7 @@
|
||||||
"@babel/preset-typescript": "7.17.12",
|
"@babel/preset-typescript": "7.17.12",
|
||||||
"@electron/fuses": "1.5.0",
|
"@electron/fuses": "1.5.0",
|
||||||
"@mixer/parallel-prettier": "2.0.1",
|
"@mixer/parallel-prettier": "2.0.1",
|
||||||
"@signalapp/mock-server": "2.7.0",
|
"@signalapp/mock-server": "2.8.0",
|
||||||
"@storybook/addon-a11y": "6.5.6",
|
"@storybook/addon-a11y": "6.5.6",
|
||||||
"@storybook/addon-actions": "6.5.6",
|
"@storybook/addon-actions": "6.5.6",
|
||||||
"@storybook/addon-controls": "6.5.6",
|
"@storybook/addon-controls": "6.5.6",
|
||||||
|
|
|
@ -16,7 +16,7 @@ export type ConfigKeyType =
|
||||||
| 'desktop.mediaQuality.levels'
|
| 'desktop.mediaQuality.levels'
|
||||||
| 'desktop.messageCleanup'
|
| 'desktop.messageCleanup'
|
||||||
| 'desktop.messageRequests'
|
| 'desktop.messageRequests'
|
||||||
| 'desktop.pnp.storageService'
|
| 'desktop.pnp'
|
||||||
| 'desktop.retryReceiptLifespan'
|
| 'desktop.retryReceiptLifespan'
|
||||||
| 'desktop.retryRespondMaxAge'
|
| 'desktop.retryRespondMaxAge'
|
||||||
| 'desktop.senderKey.retry'
|
| 'desktop.senderKey.retry'
|
||||||
|
|
|
@ -139,7 +139,7 @@ export async function toContactRecord(
|
||||||
contactRecord.serviceE164 = e164;
|
contactRecord.serviceE164 = e164;
|
||||||
}
|
}
|
||||||
const pni = conversation.get('pni');
|
const pni = conversation.get('pni');
|
||||||
if (pni && RemoteConfig.isEnabled('desktop.pnp.storageService')) {
|
if (pni && RemoteConfig.isEnabled('desktop.pnp')) {
|
||||||
contactRecord.pni = pni;
|
contactRecord.pni = pni;
|
||||||
}
|
}
|
||||||
const profileKey = conversation.get('profileKey');
|
const profileKey = conversation.get('profileKey');
|
||||||
|
@ -852,7 +852,7 @@ export async function mergeContactRecord(
|
||||||
: undefined,
|
: undefined,
|
||||||
};
|
};
|
||||||
|
|
||||||
const isPniSupported = RemoteConfig.isEnabled('desktop.pnp.storageService');
|
const isPniSupported = RemoteConfig.isEnabled('desktop.pnp');
|
||||||
|
|
||||||
const e164 = dropNull(contactRecord.serviceE164);
|
const e164 = dropNull(contactRecord.serviceE164);
|
||||||
const uuid = dropNull(contactRecord.serviceUuid);
|
const uuid = dropNull(contactRecord.serviceUuid);
|
||||||
|
|
|
@ -1753,10 +1753,10 @@
|
||||||
node-gyp-build "^4.2.3"
|
node-gyp-build "^4.2.3"
|
||||||
uuid "^8.3.0"
|
uuid "^8.3.0"
|
||||||
|
|
||||||
"@signalapp/mock-server@2.7.0":
|
"@signalapp/mock-server@2.8.0":
|
||||||
version "2.7.0"
|
version "2.8.0"
|
||||||
resolved "https://registry.yarnpkg.com/@signalapp/mock-server/-/mock-server-2.7.0.tgz#92c6538c44eb6001f7fb5b85cb1c41ad1d4a64bc"
|
resolved "https://registry.yarnpkg.com/@signalapp/mock-server/-/mock-server-2.8.0.tgz#c3228d9bf2ab5d40f51a6eeb77ddea786898cdf4"
|
||||||
integrity sha512-Adf+EOs/YesNQ4ZsxVxAdhFjtVd4f246RwADMD6A50X4hrp78eW2WkFpZ7fWDMy3ZIRiNa87aZXRbWEzFEzIzA==
|
integrity sha512-IVAA3Qm/Tc61WEyk+45J4M08lY2vYly3rRAA+LhWIhE3Uo/4T40vQ3EswAtlGY7KiWG2N1C7B1i9VSCkPCENyQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@signalapp/libsignal-client" "^0.19.2"
|
"@signalapp/libsignal-client" "^0.19.2"
|
||||||
debug "^4.3.2"
|
debug "^4.3.2"
|
||||||
|
|
Loading…
Reference in a new issue