Use sender hash

This commit is contained in:
DM42.Net (Matt Dent) 2019-03-01 10:50:10 -05:00
parent de7f2eef47
commit 5febc3e07d

View File

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