aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-02-08 11:33:01 +0100
committerMario Vavti <mario@mariovavti.com>2019-02-08 11:33:01 +0100
commitf52a53277141a67b7310656a437f1dd1ef8091f1 (patch)
treeab74fe8bf4ea4196101016829c3e991f3c54f2ba /Zotlabs
parentefc4c53b44c12c98918f0c4231febb56ce785787 (diff)
downloadvolse-hubzilla-f52a53277141a67b7310656a437f1dd1ef8091f1.tar.gz
volse-hubzilla-f52a53277141a67b7310656a437f1dd1ef8091f1.tar.bz2
volse-hubzilla-f52a53277141a67b7310656a437f1dd1ef8091f1.zip
use ACTIVITY_SHARE to match the verb
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Libzot.php2
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;
}
}