From f52a53277141a67b7310656a437f1dd1ef8091f1 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 8 Feb 2019 11:33:01 +0100 Subject: use ACTIVITY_SHARE to match the verb --- Zotlabs/Lib/Libzot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index 189526c7b..019237568 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -1504,7 +1504,7 @@ class Libzot { // doesn't exist. if ($perm === 'send_stream') { - if (get_pconfig($channel['channel_id'],'system','hyperdrive',false) || $arr['verb'] === 'Announce') { + if (get_pconfig($channel['channel_id'],'system','hyperdrive',false) || $arr['verb'] === ACTIVITY_SHARE) { $allowed = true; } } -- cgit v1.2.3