aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-02 01:44:27 -0700
committerfriendica <info@friendica.com>2012-11-02 01:44:27 -0700
commit8ae77d2984771992fe34e76893ac933b1f433812 (patch)
treebc17528b7904b32742e93e4deedfeec1f288c7aa /include/follow.php
parent9bb1b7e3ed4cb297b0d2536725ddb510ef48aafc (diff)
downloadvolse-hubzilla-8ae77d2984771992fe34e76893ac933b1f433812.tar.gz
volse-hubzilla-8ae77d2984771992fe34e76893ac933b1f433812.tar.bz2
volse-hubzilla-8ae77d2984771992fe34e76893ac933b1f433812.zip
verify all the signatures before adding contact
Diffstat (limited to 'include/follow.php')
-rw-r--r--include/follow.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/follow.php b/include/follow.php
index 9cf501ef4..2b65e389e 100644
--- a/include/follow.php
+++ b/include/follow.php
@@ -70,6 +70,9 @@ function new_contact($uid,$url,$channel,$interactive = false) {
$x = import_xchan_from_json($j);
+ if(! $x['success'])
+ return $x;
+
// Do we already have an abook entry?
// go directly to the abook edit page.