Use sender hash

(cherry picked from commit 5febc3e07d)
This commit is contained in:
DM42.Net (Matt Dent) 2019-03-01 15:50:10 +00:00 committed by Mario
parent aa6a31eba5
commit e37c9ed0a1

View File

@ -1840,7 +1840,7 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $
intval($channel['channel_id']) intval($channel['channel_id'])
); );
if ($parent) { if ($parent) {
$allowed = can_comment_on_post($d['hash'],$parent[0]); $allowed = can_comment_on_post($sender['hash'],$parent[0]);
} }
} }