aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-06-14 22:14:52 +0200
committerMario Vavti <mario@mariovavti.com>2017-06-14 22:14:52 +0200
commit54e07389fa1ebe7a2d2815258b021c07d2fc4dd0 (patch)
tree0bd8918a8a16379239434bd99d0df3a0fd6fa484 /include
parent28906bf50a56b7e5eca6495b67a6080d65c679cc (diff)
downloadvolse-hubzilla-54e07389fa1ebe7a2d2815258b021c07d2fc4dd0.tar.gz
volse-hubzilla-54e07389fa1ebe7a2d2815258b021c07d2fc4dd0.tar.bz2
volse-hubzilla-54e07389fa1ebe7a2d2815258b021c07d2fc4dd0.zip
thr:in-reply-to seems to must not have a type set. there is no mention of this in the spec and replies will be shown as replies in mastodon this way.
Diffstat (limited to 'include')
-rw-r--r--include/feedutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/feedutils.php b/include/feedutils.php
index c9c7522b1..d1c7a5c64 100644
--- a/include/feedutils.php
+++ b/include/feedutils.php
@@ -1505,7 +1505,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="' . 'X-ZOT:' . xmlify($parent_item) . '" type="text/html" href="' . xmlify($item['plink']) . '" />' . "\r\n";
+ $o .= '<thr:in-reply-to ref="' . xmlify($parent_item) . '" href="' . xmlify($item['plink']) . '" />' . "\r\n";
}
if(activity_match($item['obj_type'],ACTIVITY_OBJ_EVENT) && activity_match($item['verb'],ACTIVITY_POST)) {