Merge branch 'patch-20190301a' into 'dev'

Use sender hash

See merge request hubzilla/core!1535
This commit is contained in:
Mario 2019-03-02 15:00:20 +01:00
commit 4750e15c20

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]);
}
}