diff options
author | root <root@diekershoff.homeunix.net> | 2011-01-18 11:14:28 +0100 |
---|---|---|
committer | root <root@diekershoff.homeunix.net> | 2011-01-18 11:14:28 +0100 |
commit | 13fa27f7578d292d8d722554ce6211e8e0bc91af (patch) | |
tree | 2377a23718c3406206f03b65aad2a9f5b1eb8b12 /mod/salmon.php | |
parent | 3323f256c35ceb30a4b2ac1984a2eded672eb33f (diff) | |
parent | 028460a5c1de4833bb1dcfaa945c1292952bf923 (diff) | |
download | volse-hubzilla-13fa27f7578d292d8d722554ce6211e8e0bc91af.tar.gz volse-hubzilla-13fa27f7578d292d8d722554ce6211e8e0bc91af.tar.bz2 volse-hubzilla-13fa27f7578d292d8d722554ce6211e8e0bc91af.zip |
Merge branch 'master' of git://github.com/friendika/friendika
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); |