Ignore delivery problems with drops
This commit is contained in:
parent
8969e83134
commit
034d838248
|
@ -144,6 +144,11 @@ class Delivery
|
||||||
if (!empty($actor)) {
|
if (!empty($actor)) {
|
||||||
$drop = !ActivityPub\Transmitter::sendRelayFollow($actor);
|
$drop = !ActivityPub\Transmitter::sendRelayFollow($actor);
|
||||||
Logger::notice('Resubscribed to relay', ['url' => $actor, 'success' => !$drop]);
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user