From 52acfce84b4c53ed01e7a37da05d0395bbceeeff Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 19 May 2013 20:38:53 -0700 Subject: some auto-friending cleanups --- include/follow.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/follow.php') diff --git a/include/follow.php b/include/follow.php index eba353c8b..6b192234c 100644 --- a/include/follow.php +++ b/include/follow.php @@ -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 */ -- cgit v1.2.3