diff options
author | Max Kostikov <max@kostikov.co> | 2019-05-01 21:45:12 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-05-01 21:45:12 +0200 |
commit | cbe35281b9964666ffef559d8fa7c9f803701f7f (patch) | |
tree | e1e9c16b7db8637e36104cca783692bf0b55dfe2 /Zotlabs/Lib/Activity.php | |
parent | 1e7e2bd34f0535beb64dbe4ca53d8a20ae4e9a6b (diff) | |
parent | 51a0fc45e2a9e95ce37dbe9a792d4281e0baf07b (diff) | |
download | volse-hubzilla-cbe35281b9964666ffef559d8fa7c9f803701f7f.tar.gz volse-hubzilla-cbe35281b9964666ffef559d8fa7c9f803701f7f.tar.bz2 volse-hubzilla-cbe35281b9964666ffef559d8fa7c9f803701f7f.zip |
Merge branch 'dev' into 'dev'
Add AS threaded comments support
See merge request hubzilla/core!1618
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 9df7db169..12194664b 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -310,7 +310,7 @@ class Activity { $ret['attributedTo'] = $i['author']['xchan_url']; if($i['id'] != $i['parent']) { - $ret['inReplyTo'] = ((strpos($i['parent_mid'],'http') === 0) ? $i['parent_mid'] : z_root() . '/item/' . urlencode($i['parent_mid'])); + $ret['inReplyTo'] = ((strpos($i['thr_parent'],'http') === 0) ? $i['thr_parent'] : z_root() . '/item/' . urlencode($i['thr_parent'])); } if($i['mimetype'] === 'text/bbcode') { @@ -509,7 +509,7 @@ class Activity { } if($i['id'] != $i['parent']) { - $ret['inReplyTo'] = ((strpos($i['parent_mid'],'http') === 0) ? $i['parent_mid'] : z_root() . '/item/' . urlencode($i['parent_mid'])); + $ret['inReplyTo'] = ((strpos($i['thr_parent'],'http') === 0) ? $i['thr_parent'] : z_root() . '/item/' . urlencode($i['thr_parent'])); $reply = true; if($i['item_private']) { |