aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-18 20:13:12 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-18 20:13:12 -0700
commitf0a33c00bc7f60f986edc53f3fa98d8b270f978a (patch)
tree5a9d68f3786143ccc632385edf9cad81b8448165 /include/follow.php
parent9b3662e5adc58172c6923c1879b226bc208e9ec4 (diff)
downloadvolse-hubzilla-f0a33c00bc7f60f986edc53f3fa98d8b270f978a.tar.gz
volse-hubzilla-f0a33c00bc7f60f986edc53f3fa98d8b270f978a.tar.bz2
volse-hubzilla-f0a33c00bc7f60f986edc53f3fa98d8b270f978a.zip
separate permission_update notification into permission_create and permission_update, since some networks send out a notification for duplicate share requests even if connected.
Diffstat (limited to 'include/follow.php')
-rw-r--r--include/follow.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/follow.php b/include/follow.php
index ae0f9f041..40ad2c299 100644
--- a/include/follow.php
+++ b/include/follow.php
@@ -261,7 +261,7 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
);
if($r) {
$result['abook'] = $r[0];
- proc_run('php', 'include/notifier.php', 'permission_update', $result['abook']['abook_id']);
+ proc_run('php', 'include/notifier.php', 'permission_create', $result['abook']['abook_id']);
}
$arr = array('channel_id' => $uid, 'abook' => $result['abook']);