some auto-friending cleanups

This commit is contained in:
friendica
2013-05-19 20:38:53 -07:00
parent 1f921a51ae
commit 52acfce84b
4 changed files with 12 additions and 3 deletions

View File

@@ -164,8 +164,10 @@ function new_contact($uid,$url,$channel,$interactive = false) {
dbesc($xchan_hash),
intval($uid)
);
if($r)
if($r) {
$result['abook'] = $r[0];
proc_run('php', 'include/notifier.php', 'permission_update', $result['abook']['abook_id']);
}
/** If there is a default group for this channel, add this member to it */