statusnet improvements

This commit is contained in:
Friendika 2011-07-01 17:39:16 -07:00
parent 813d6c453c
commit 9816f14d40
2 changed files with 7 additions and 3 deletions

View 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