Browse Source

also check for blocked

pull/1/head
Friendika 10 years ago
parent
commit
c23657ab6e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mod/salmon.php

+ 1
- 1
mod/salmon.php View 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


Loading…
Cancel
Save