The behaviour when following a new contact is now unified.

This commit is contained in:
Michael Vogel
2015-04-09 00:10:21 +02:00
parent 9b6922fa86
commit f6ea872986
6 changed files with 121 additions and 10 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
function new_contact($uid,$url,$interactive = false) {
$result = array('success' => false,'message' => '');
$result = array('cid' => -1, 'success' => false,'message' => '');
$a = get_app();
@@ -208,7 +208,7 @@ function new_contact($uid,$url,$interactive = false) {
$contact = $r[0];
$contact_id = $r[0]['id'];
$result['cid'] = $contact_id;
$g = q("select def_gid from user where uid = %d limit 1",
intval($uid)