mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:10:11 +00:00
DFRN: Improvements to delivery. Logging and marking as not reachable
This commit is contained in:
parent
f7190ce971
commit
1a2c771f24
3 changed files with 38 additions and 24 deletions
|
@ -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']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue