mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +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 scannableFingerprint = identityHelper.computeSafetyNumberForScanning(identityInfo.getRecipientId(),
|
||||
identityInfo.getIdentityKey());
|
||||
return new Identity(address,
|
||||
identityInfo.getIdentityKey(),
|
||||
identityHelper.computeSafetyNumber(identityInfo.getRecipientId(), identityInfo.getIdentityKey()),
|
||||
identityHelper.computeSafetyNumberForScanning(identityInfo.getRecipientId(),
|
||||
identityInfo.getIdentityKey()).getSerialized(),
|
||||
scannableFingerprint == null ? null : scannableFingerprint.getSerialized(),
|
||||
identityInfo.getTrustLevel(),
|
||||
identityInfo.getDateAdded());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue