mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
parent
bff0030aed
commit
d4b9356c5c
1 changed files with 3 additions and 2 deletions
|
@ -1081,11 +1081,12 @@ public class ManagerImpl implements Manager {
|
||||||
}
|
}
|
||||||
|
|
||||||
final var address = account.getRecipientStore().resolveRecipientAddress(identityInfo.getRecipientId());
|
final var address = account.getRecipientStore().resolveRecipientAddress(identityInfo.getRecipientId());
|
||||||
|
final var scannableFingerprint = identityHelper.computeSafetyNumberForScanning(identityInfo.getRecipientId(),
|
||||||
|
identityInfo.getIdentityKey());
|
||||||
return new Identity(address,
|
return new Identity(address,
|
||||||
identityInfo.getIdentityKey(),
|
identityInfo.getIdentityKey(),
|
||||||
identityHelper.computeSafetyNumber(identityInfo.getRecipientId(), identityInfo.getIdentityKey()),
|
identityHelper.computeSafetyNumber(identityInfo.getRecipientId(), identityInfo.getIdentityKey()),
|
||||||
identityHelper.computeSafetyNumberForScanning(identityInfo.getRecipientId(),
|
scannableFingerprint == null ? null : scannableFingerprint.getSerialized(),
|
||||||
identityInfo.getIdentityKey()).getSerialized(),
|
|
||||||
identityInfo.getTrustLevel(),
|
identityInfo.getTrustLevel(),
|
||||||
identityInfo.getDateAdded());
|
identityInfo.getDateAdded());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue