]> git.mxchange.org Git - friendica.git/blobdiff - mod/salmon.php
statusnet improvements
[friendica.git] / mod / salmon.php
index 3ace417cd86fd8f7fdb79088be87cb99226b0b81..2a53e914b790c838df791b01aa0d8b890e7a068c 100644 (file)
@@ -183,7 +183,11 @@ function salmon_post(&$a) {
        if(! count($r)) {
                logger('mod-salmon: Author unknown to us.');
        }       
-       if((count($r)) && ($r[0]['readonly'])) {
+
+       // 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)) {
                logger('mod-salmon: Ignoring this author.');
                salmon_return(202);
                // NOTREACHED