DFRN: Improvements to delivery. Logging and marking as not reachable

This commit is contained in:
Michael 2018-04-03 12:18:05 +00:00
parent f7190ce971
commit 1a2c771f24
3 changed files with 38 additions and 24 deletions

View file

@ -318,7 +318,7 @@ class Delivery {
logger('notifier: dfrn_delivery to '.$contact["url"].' with guid '.$target_item["guid"].' returns '.$deliver_status);
if ($deliver_status < 0) {
if ($deliver_status < 200) {
logger('notifier: delivery failed: queuing message');
Queue::add($contact['id'], NETWORK_DFRN, $atom, false, $target_item['guid']);