From: Michael Vogel Date: Tue, 24 Jul 2018 18:12:09 +0000 (+0200) Subject: Fallback to Diaspora if DFRN transmission fails (#5487) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=69af69d1a0c4deb855c6598b681893e905937144;p=friendica.git Fallback to Diaspora if DFRN transmission fails (#5487) --- diff --git a/src/Worker/Delivery.php b/src/Worker/Delivery.php index 87e3024882..022faa2d7a 100644 --- a/src/Worker/Delivery.php +++ b/src/Worker/Delivery.php @@ -309,6 +309,10 @@ class Delivery extends BaseObject } else { // The message could not be delivered. We mark the contact as "dead" Contact::markForArchival($contact); + + // Transmit via Diaspora when all other methods (legacy DFRN and new one) are failing. + // This is a fallback for systems that don't know the new methods. + self::deliverDiaspora($cmd, $contact, $owner, $items, $target_item, $public_message, $top_level, $followup); } }