aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-16 21:05:52 -0700
committerredmatrix <git@macgirvin.com>2016-03-16 21:05:52 -0700
commit3a8f6e657627c166b72b9ef5ea20c672f6a67d97 (patch)
tree9a8dad3a0a6f6d837873dd0444c41e8c8751f100 /include/items.php
parent38eb79705e4de252f29e56543de8a287132b488e (diff)
downloadvolse-hubzilla-3a8f6e657627c166b72b9ef5ea20c672f6a67d97.tar.gz
volse-hubzilla-3a8f6e657627c166b72b9ef5ea20c672f6a67d97.tar.bz2
volse-hubzilla-3a8f6e657627c166b72b9ef5ea20c672f6a67d97.zip
more federation backend
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php4
1 files changed, 3 insertions, 1 deletions
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();