From 878b2be63d9772792f6c3a903c93cad5eec98c67 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 14 Feb 2018 14:29:28 +0000 Subject: [PATCH] Diaspora: Accept posts from archived contacts --- src/Protocol/Diaspora.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 534f6ed6ba..992da9109a 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -1057,7 +1057,7 @@ class Diaspora //} // We don't seem to like that person - if ($contact["blocked"] || $contact["readonly"] || $contact["archive"]) { + if ($contact["blocked"] || $contact["readonly"]) { // Maybe blocked, don't accept. return false; // We are following this person? @@ -3237,7 +3237,7 @@ class Diaspora Contact::unmarkForArchival($contact); } - return(($return_code) ? $return_code : (-1)); + return $return_code ? $return_code : -1; } -- 2.39.5