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:
parent
1f55538ad4
commit
2ba814f9b4
2 changed files with 0 additions and 38 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue