use ACTIVITY_SHARE to match the verb

This commit is contained in:
Mario Vavti 2019-02-08 11:33:01 +01:00
parent efc4c53b44
commit f52a532771

View File

@ -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;
}
}