1
1
Fork 0

Merge pull request #4457 from annando/accept-archived

Diaspora: Accept posts from archived contacts
This commit is contained in:
Hypolite Petovan 2018-02-14 09:46:24 -05:00 committed by GitHub
commit cdc8a3b68d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1059,7 +1059,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?
@ -3239,7 +3239,7 @@ class Diaspora
Contact::unmarkForArchival($contact);
}
return(($return_code) ? $return_code : (-1));
return $return_code ? $return_code : -1;
}