aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-09-19 11:12:52 +0200
committerMario Vavti <mario@mariovavti.com>2017-09-19 11:12:52 +0200
commit66fb0fdcd77f46c614f8149e71ca0d4fb1757d0a (patch)
tree66b8e06dc3ecbb42fc6e8c9141f36273b67e9e7e /Zotlabs
parent105e7626fc2686c3d838e72350244408c439a9e8 (diff)
downloadvolse-hubzilla-66fb0fdcd77f46c614f8149e71ca0d4fb1757d0a.tar.gz
volse-hubzilla-66fb0fdcd77f46c614f8149e71ca0d4fb1757d0a.tar.bz2
volse-hubzilla-66fb0fdcd77f46c614f8149e71ca0d4fb1757d0a.zip
fix permission_{accept, reject} hooks not being called
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Daemon/Notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php
index 1b8a7d412..54d609ad1 100644
--- a/Zotlabs/Daemon/Notifier.php
+++ b/Zotlabs/Daemon/Notifier.php
@@ -161,7 +161,7 @@ class Notifier {
$packet_type = 'keychange';
$normal_mode = false;
}
- elseif($cmd == 'permission_update' || $cmd == 'permission_create') {
+ elseif($cmd == 'permission_update' || $cmd == 'permission_reject' || $cmd == 'permission_accept' || $cmd == 'permission_create') {
// Get the (single) recipient
$r = q("select * from abook left join xchan on abook_xchan = xchan_hash where abook_id = %d and abook_self = 0",
intval($item_id)