Diaspora: Accept posts from archived contacts

This commit is contained in:
Michael 2018-02-14 14:29:28 +00:00
parent 219182d41e
commit 878b2be63d

View file

@ -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;
}