use ACTIVITY_SHARE to match the verb
This commit is contained in:
parent
efc4c53b44
commit
f52a532771
@ -1504,7 +1504,7 @@ class Libzot {
|
|||||||
// doesn't exist.
|
// doesn't exist.
|
||||||
|
|
||||||
if ($perm === 'send_stream') {
|
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;
|
$allowed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user