aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-01 17:45:00 -0700
committerFriendika <info@friendika.com>2011-07-01 17:45:00 -0700
commitc23657ab6eb99750fc271f9fd124ea8731180605 (patch)
tree17c37dbc42314d734e1ca06c8f49661d63c937d5 /mod
parent9816f14d40a04867b2d96891c297252cc4a7006d (diff)
downloadvolse-hubzilla-c23657ab6eb99750fc271f9fd124ea8731180605.tar.gz
volse-hubzilla-c23657ab6eb99750fc271f9fd124ea8731180605.tar.bz2
volse-hubzilla-c23657ab6eb99750fc271f9fd124ea8731180605.zip
also check for blocked
Diffstat (limited to 'mod')
-rw-r--r--mod/salmon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/salmon.php b/mod/salmon.php
index 2a53e914b..721eae437 100644
--- a/mod/salmon.php
+++ b/mod/salmon.php
@@ -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