From 4904be0d6f6f693bd7c792e3e663f497f90b839a Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 27 Apr 2018 04:55:46 +0000 Subject: [PATCH] Better fallback on values > 299 as well --- src/Worker/Delivery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/Delivery.php b/src/Worker/Delivery.php index b62c598903..9dbe0eca0a 100644 --- a/src/Worker/Delivery.php +++ b/src/Worker/Delivery.php @@ -270,7 +270,7 @@ class Delivery extends BaseObject { // Se we transmit with the new method and via Diaspora as a fallback if ($items[0]['uid'] == 0) { $deliver_status = DFRN::transmit($owner, $contact, $atom); - if ($deliver_status < 200) { + if (($deliver_status < 200) || ($deliver_status > 299)) { // Transmit via Diaspora if not possible via Friendica self::deliverDiaspora($cmd, $contact, $owner, $items, $target_item, $public_message, $top_level, $followup); return;