From b2b597288cdded396ba6ccfc20aa06c3983364cf Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 30 Apr 2018 13:07:40 +0000 Subject: [PATCH] Deliver with the new function when delivering to a "uid=0" contact --- 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 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);