]> git.mxchange.org Git - friendica.git/commitdiff
also check for blocked
authorFriendika <info@friendika.com>
Sat, 2 Jul 2011 00:45:00 +0000 (17:45 -0700)
committerFriendika <info@friendika.com>
Sat, 2 Jul 2011 00:45:00 +0000 (17:45 -0700)
mod/salmon.php

index 2a53e914b790c838df791b01aa0d8b890e7a068c..721eae4371f6b278e6f12b83c45827763e7f90c3 100644 (file)
@@ -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