Rename remote config flag

This commit is contained in:
Fedor Indutny 2022-08-17 15:06:17 -07:00 committed by GitHub
parent 260ae89489
commit 15714f35ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View file

@ -139,7 +139,7 @@ export async function toContactRecord(
contactRecord.serviceE164 = e164;
}
const pni = conversation.get('pni');
if (pni && RemoteConfig.isEnabled('desktop.pnp.storageService')) {
if (pni && RemoteConfig.isEnabled('desktop.pnp')) {
contactRecord.pni = pni;
}
const profileKey = conversation.get('profileKey');
@ -852,7 +852,7 @@ export async function mergeContactRecord(
: undefined,
};
const isPniSupported = RemoteConfig.isEnabled('desktop.pnp.storageService');
const isPniSupported = RemoteConfig.isEnabled('desktop.pnp');
const e164 = dropNull(contactRecord.serviceE164);
const uuid = dropNull(contactRecord.serviceUuid);