aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.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/zot.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/zot.php')
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 26baeddaf..02dab3617 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -503,7 +503,7 @@ function zot_refresh($them, $channel = null, $force = false) {
if($new_connection) {
if($new_perms != $previous_perms)
- proc_run('php','include/notifier.php','permission_update',$new_connection[0]['abook_id']);
+ proc_run('php','include/notifier.php','permission_create',$new_connection[0]['abook_id']);
require_once('include/enotify.php');
notification(array(
'type' => NOTIFY_INTRO,