mirror of
https://github.com/friendica/friendica
synced 2025-04-27 08:30:10 +00:00
Improved logging, avoiding PHP warning
This commit is contained in:
parent
4909075321
commit
a182dd3400
2 changed files with 5 additions and 2 deletions
|
@ -1426,9 +1426,12 @@ class DFRN
|
|||
Contact::markForArchival($contact);
|
||||
return -22;
|
||||
}
|
||||
$pubkey = $fcontact['pubkey'];
|
||||
} else {
|
||||
$pubkey = '';
|
||||
}
|
||||
|
||||
$envelope = Diaspora::buildMessage($atom, $owner, $contact, $owner['uprvkey'], $fcontact['pubkey'], $public_batch);
|
||||
$envelope = Diaspora::buildMessage($atom, $owner, $contact, $owner['uprvkey'], $pubkey, $public_batch);
|
||||
|
||||
// Create the endpoint for public posts. This is some WIP and should later be added to the probing
|
||||
if ($public_batch && empty($contact["batch"])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue