diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-02-08 11:33:01 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-02-08 11:33:01 +0100 |
commit | f52a53277141a67b7310656a437f1dd1ef8091f1 (patch) | |
tree | ab74fe8bf4ea4196101016829c3e991f3c54f2ba /Zotlabs/Lib | |
parent | efc4c53b44c12c98918f0c4231febb56ce785787 (diff) | |
download | volse-hubzilla-f52a53277141a67b7310656a437f1dd1ef8091f1.tar.gz volse-hubzilla-f52a53277141a67b7310656a437f1dd1ef8091f1.tar.bz2 volse-hubzilla-f52a53277141a67b7310656a437f1dd1ef8091f1.zip |
use ACTIVITY_SHARE to match the verb
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Libzot.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |