diff options
author | Andrew Manning <andrew@reticu.li> | 2016-03-23 21:17:23 -0400 |
---|---|---|
committer | Andrew Manning <andrew@reticu.li> | 2016-03-23 21:17:23 -0400 |
commit | 59827b6dfdcab85b65853f3ee75365bda057a993 (patch) | |
tree | dc1871d3cba25d9064192d206bf24b16780621ab /include/items.php | |
parent | 61bef7d4b083c9c794469137798176b62c2f21cb (diff) | |
parent | f200dd4395e1d0e2a6200844ec4827a943bf09ea (diff) | |
download | volse-hubzilla-59827b6dfdcab85b65853f3ee75365bda057a993.tar.gz volse-hubzilla-59827b6dfdcab85b65853f3ee75365bda057a993.tar.bz2 volse-hubzilla-59827b6dfdcab85b65853f3ee75365bda057a993.zip |
Merge branch 'master' of https://github.com/redmatrix/hubzilla into contextual-help
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php index c3a0b82d2..879f8ea12 100755 --- a/include/items.php +++ b/include/items.php @@ -4214,7 +4214,7 @@ function atom_entry($item,$type,$author,$owner,$comment = false,$cid = 0) { if(($item['parent'] != $item['id']) || ($item['parent_mid'] !== $item['mid']) || (($item['thr_parent'] !== '') && ($item['thr_parent'] !== $item['mid']))) { $parent_item = (($item['thr_parent']) ? $item['thr_parent'] : $item['parent_mid']); - $o .= '<thr:in-reply-to ref="' . xmlify($parent_item) . '" type="text/html" href="' . xmlify($item['plink']) . '" />' . "\r\n"; + $o .= '<thr:in-reply-to ref="' . z_root() . '/display/' . xmlify($parent_item) . '" type="text/html" href="' . xmlify($item['plink']) . '" />' . "\r\n"; } if(activity_match($item['obj_type'],ACTIVITY_OBJ_EVENT) && activity_match($item['verb'],ACTIVITY_POST)) { @@ -4232,7 +4232,7 @@ function atom_entry($item,$type,$author,$owner,$comment = false,$cid = 0) { $o .= '<content type="' . $type . '" >' . xmlify(prepare_text($body,$item['mimetype'])) . '</content>' . "\r\n"; } - $o .= '<id>' . xmlify($item['mid']) . '</id>' . "\r\n"; + $o .= '<id>' . z_root() . '/display/' . xmlify($item['mid']) . '</id>' . "\r\n"; $o .= '<published>' . xmlify(datetime_convert('UTC','UTC',$item['created'] . '+00:00',ATOM_TIME)) . '</published>' . "\r\n"; $o .= '<updated>' . xmlify(datetime_convert('UTC','UTC',$item['edited'] . '+00:00',ATOM_TIME)) . '</updated>' . "\r\n"; |