aboutsummaryrefslogtreecommitdiffstats
path: root/mod/salmon.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-18 11:05:18 +0100
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-18 11:05:18 +0100
commit8b997791819ba419e7e2ceb7861bb0e3e37d87dd (patch)
tree78b75c13632e9fcaa32f281fb23dcfcd841cf0e1 /mod/salmon.php
parentb5c9f80919bd8678521c31913eeb08ccc56914dd (diff)
parent028460a5c1de4833bb1dcfaa945c1292952bf923 (diff)
downloadvolse-hubzilla-8b997791819ba419e7e2ceb7861bb0e3e37d87dd.tar.gz
volse-hubzilla-8b997791819ba419e7e2ceb7861bb0e3e37d87dd.tar.bz2
volse-hubzilla-8b997791819ba419e7e2ceb7861bb0e3e37d87dd.zip
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/salmon.php')
-rw-r--r--mod/salmon.php7
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);