Peer resolution for a contact isn't needed, reference is found in 'address' which could be resolved at a later time

This commit is contained in:
netkas 2025-01-31 13:05:31 -05:00
parent 1f55538ad4
commit 2ba814f9b4
2 changed files with 0 additions and 38 deletions

View file

@ -564,18 +564,8 @@
return null;
}
try
{
$peer = Socialbox::resolvePeer($contactAddress);
}
catch (StandardRpcException $e)
{
$peer = null;
}
return new ContactRecord([
'address' => $contact->getContactPeerAddress(),
'peer' => $peer,
'relationship' => $contact->getRelationship(),
'known_keys' => self::contactGetSigningKeys($contact),
'added_timestamp' => $contact->getCreated()->getTimestamp()