mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Store pni correctly in storage record
This commit is contained in:
parent
bd95373a70
commit
cbd92654cf
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ public final class StorageSyncModels {
|
||||||
final var builder = SignalContactRecord.Companion.newBuilder(recipient.getStorageRecord())
|
final var builder = SignalContactRecord.Companion.newBuilder(recipient.getStorageRecord())
|
||||||
.aci(address.aci().map(ACI::toString).orElse(""))
|
.aci(address.aci().map(ACI::toString).orElse(""))
|
||||||
.e164(address.number().orElse(""))
|
.e164(address.number().orElse(""))
|
||||||
.pni(address.pni().map(PNI::toString).orElse(""))
|
.pni(address.pni().map(PNI::toStringWithoutPrefix).orElse(""))
|
||||||
.username(address.username().orElse(""))
|
.username(address.username().orElse(""))
|
||||||
.profileKey(recipient.getProfileKey() == null
|
.profileKey(recipient.getProfileKey() == null
|
||||||
? ByteString.EMPTY
|
? ByteString.EMPTY
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue