need to set item_origin on locally created reactions so they propagate properly

This commit is contained in:
redmatrix 2016-06-03 18:46:59 -07:00
parent 1877df0e70
commit af4352adf2

View file

@ -30,6 +30,7 @@ class React extends \Zotlabs\Web\Controller {
$n = array();
$n['aid'] = $channel['channel_account_id'];
$n['uid'] = $channel['channel_id'];
$n['item_origin'] = true;
$n['parent'] = $postid;
$n['parent_mid'] = $i[0]['mid'];
$n['mid'] = item_message_id();