From 3a8f6e657627c166b72b9ef5ea20c672f6a67d97 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 16 Mar 2016 21:05:52 -0700 Subject: more federation backend --- include/items.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index fbcf20636..c3a0b82d2 100755 --- a/include/items.php +++ b/include/items.php @@ -3893,6 +3893,7 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) { } $datarray['parent_mid'] = $parent_mid; + $datarray['aid'] = $importer['channel_account_id']; $datarray['uid'] = $importer['channel_id']; logger('consume_feed: ' . print_r($datarray,true),LOGGER_DATA); @@ -3975,6 +3976,7 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) { $datarray['parent_mid'] = $item_id; $datarray['uid'] = $importer['channel_id']; + $datarray['aid'] = $importer['channel_account_id']; if(! link_compare($author['owner_link'],$contact['xchan_url'])) { logger('consume_feed: Correcting item owner.', LOGGER_DEBUG); @@ -4050,7 +4052,7 @@ function process_salmon_feed($xml, $importer) { } if($is_reply) - $ret['is_reply'] = true; + $ret['parent_mid'] = $parent_mid; $ret['author'] = array(); -- cgit v1.2.3