From: Michael Date: Tue, 24 May 2022 12:27:35 +0000 (+0000) Subject: Ignore delivery problems with drops X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=034d838248f69c60e8b588e1b1266d78f4254182;p=friendica.git Ignore delivery problems with drops --- diff --git a/src/Protocol/ActivityPub/Delivery.php b/src/Protocol/ActivityPub/Delivery.php index 966f0e5e16..ebf8ffb2b6 100644 --- a/src/Protocol/ActivityPub/Delivery.php +++ b/src/Protocol/ActivityPub/Delivery.php @@ -144,6 +144,11 @@ class Delivery if (!empty($actor)) { $drop = !ActivityPub\Transmitter::sendRelayFollow($actor); Logger::notice('Resubscribed to relay', ['url' => $actor, 'success' => !$drop]); + } elseif ($cmd = WorkerDelivery::DELETION) { + // Remote systems not always accept our deletion requests, so we drop them if rejected. + // Situation is: In Friendica we allow the thread owner to delete foreign comments to their thread. + // Most AP systems don't allow this, so they will reject the deletion request. + $drop = true; } }