mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:10:16 +00:00
Fix delivery only for comments to native networks
This commit is contained in:
parent
67d2f8594c
commit
4699741f00
2 changed files with 28 additions and 8 deletions
|
@ -20,7 +20,9 @@ class APDelivery extends BaseObject
|
|||
} elseif ($cmd == Delivery::RELOCATION) {
|
||||
} else {
|
||||
$data = ActivityPub::createActivityFromItem($item_id);
|
||||
HTTPSignature::transmit($data, $inbox, $uid);
|
||||
if (!empty($data)) {
|
||||
HTTPSignature::transmit($data, $inbox, $uid);
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue