aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-19 20:38:53 -0700
committerfriendica <info@friendica.com>2013-05-19 20:38:53 -0700
commit52acfce84b4c53ed01e7a37da05d0395bbceeeff (patch)
tree8d811636455d42b73d7e380e5a32b5c638f34bc2 /include/follow.php
parent1f921a51ae7c2b608e89a238e206ba5539eeb3c4 (diff)
downloadvolse-hubzilla-52acfce84b4c53ed01e7a37da05d0395bbceeeff.tar.gz
volse-hubzilla-52acfce84b4c53ed01e7a37da05d0395bbceeeff.tar.bz2
volse-hubzilla-52acfce84b4c53ed01e7a37da05d0395bbceeeff.zip
some auto-friending cleanups
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 */