also check for blocked

2022.09-rc
Friendika 2011-07-01 17:45:00 -07:00
rodzic 9816f14d40
commit c23657ab6e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -187,7 +187,7 @@ function salmon_post(&$a) {
// is this a follower? Or have we ignored the person?
// If so we can not accept this post.
if((count($r)) && (($r[0]['readonly']) || ($r[0]['rel'] == REL_VIP)) {
if((count($r)) && (($r[0]['readonly']) || ($r[0]['rel'] == REL_VIP) || ($r[0]['blocked']))) {
logger('mod-salmon: Ignoring this author.');
salmon_return(202);
// NOTREACHED