aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/follow.php')
-rw-r--r--include/follow.php4
1 files changed, 3 insertions, 1 deletions
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 */