Deliver with the new function when delivering to a "uid=0" contact
This commit is contained in:
parent
74aa3499b0
commit
b2b597288c
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ class Delivery extends BaseObject
|
||||||
|
|
||||||
// We don't have a relationship with contacts on a public post.
|
// 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
|
// 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
|
// Transmit in public if it's a relay post
|
||||||
$public_dfrn = ($contact['contact-type'] == ACCOUNT_TYPE_RELAY);
|
$public_dfrn = ($contact['contact-type'] == ACCOUNT_TYPE_RELAY);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue