map comment_policy on local post submission

This commit is contained in:
friendica 2013-06-18 19:15:33 -07:00
parent 40c8e89d84
commit 2e7afa96f4

View File

@ -532,6 +532,7 @@ function item_post(&$a) {
$datarray['item_restrict'] = $item_restrict;
$datarray['item_flags'] = $item_flags;
$datarray['comment_policy'] = map_scope($channel['channel_w_comment']);
// preview mode - prepare the body for display and send it via json