From: Michael Date: Mon, 30 Apr 2018 13:07:40 +0000 (+0000) Subject: Deliver with the new function when delivering to a "uid=0" contact X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b2b597288cdded396ba6ccfc20aa06c3983364cf;p=friendica.git Deliver with the new function when delivering to a "uid=0" contact --- diff --git a/src/Worker/Delivery.php b/src/Worker/Delivery.php index 423691e2a5..05627e2b12 100644 --- a/src/Worker/Delivery.php +++ b/src/Worker/Delivery.php @@ -270,7 +270,7 @@ class Delivery extends BaseObject // We don't have a relationship with contacts on a public post. // Se we transmit with the new method and via Diaspora as a fallback - if ($items[0]['uid'] == 0) { + if (($items[0]['uid'] == 0) || ($contact['uid'] == 0)) { // Transmit in public if it's a relay post $public_dfrn = ($contact['contact-type'] == ACCOUNT_TYPE_RELAY);