diff options
author | Friendika <info@friendika.com> | 2011-01-16 14:58:07 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-16 14:58:07 -0800 |
commit | f4ebd2a21332264d998d5fad8b7e5e86dd889862 (patch) | |
tree | d4f816cc495f95d07de72676ab19f50c33a28eef /mod/salmon.php | |
parent | e7ae4ad3fa010e5f636738366aae81e129990fa7 (diff) | |
download | volse-hubzilla-f4ebd2a21332264d998d5fad8b7e5e86dd889862.tar.gz volse-hubzilla-f4ebd2a21332264d998d5fad8b7e5e86dd889862.tar.bz2 volse-hubzilla-f4ebd2a21332264d998d5fad8b7e5e86dd889862.zip |
Don't send conversation slaps, only immediate replies. Redundant and flawed.
Diffstat (limited to 'mod/salmon.php')
-rw-r--r-- | mod/salmon.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/salmon.php b/mod/salmon.php index 2ae6aa628..8c7d921c8 100644 --- a/mod/salmon.php +++ b/mod/salmon.php @@ -199,7 +199,12 @@ function salmon_post(&$a) { $hub = ''; - // consume_feed will only accept a follow activity from this person if there is no contact record. + /** + * + * anti-spam measure: consume_feed will accept a follow activity from + * this person (and nothing else) if there is no existing contact record. + * + */ $contact_rec = ((count($r)) ? $r[0] : null); |