Rename remote config flag
This commit is contained in:
parent
260ae89489
commit
15714f35ef
4 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue