Browse Source

Fallback to Diaspora if DFRN transmission fails (#5487)

pull/5493/head
Michael Vogel 3 years ago
committed by Hypolite Petovan
parent
commit
69af69d1a0
  1. 4
      src/Worker/Delivery.php

4
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);
}
}

Loading…
Cancel
Save