From 8ae77d2984771992fe34e76893ac933b1f433812 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 2 Nov 2012 01:44:27 -0700 Subject: verify all the signatures before adding contact --- include/follow.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/follow.php') 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. -- cgit v1.2.3