diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-09-19 11:12:52 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-09-19 11:12:52 +0200 |
commit | 66fb0fdcd77f46c614f8149e71ca0d4fb1757d0a (patch) | |
tree | 66b8e06dc3ecbb42fc6e8c9141f36273b67e9e7e /Zotlabs/Daemon/Notifier.php | |
parent | 105e7626fc2686c3d838e72350244408c439a9e8 (diff) | |
download | volse-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/Daemon/Notifier.php')
-rw-r--r-- | Zotlabs/Daemon/Notifier.php | 2 |
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) |