Use e164 from PniChangeNumber sync message
This commit is contained in:
parent
579329b7bf
commit
759c61d06e
3 changed files with 9 additions and 3 deletions
|
@ -1199,7 +1199,9 @@ export async function mergeAccountRecord(
|
|||
|
||||
if (typeof accountE164 === 'string' && accountE164) {
|
||||
await window.storage.put('accountE164', accountE164);
|
||||
await window.storage.user.setNumber(accountE164);
|
||||
if (!RemoteConfig.isEnabled('desktop.pnp')) {
|
||||
await window.storage.user.setNumber(accountE164);
|
||||
}
|
||||
}
|
||||
|
||||
if (preferredReactionEmoji.canBeSynced(rawPreferredReactionEmoji)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue