diff options
author | zotlabs <mike@macgirvin.com> | 2019-05-03 00:00:00 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-05-03 00:00:00 -0700 |
commit | b1dec1289340385df3699db9e2fe84fe1e37cae5 (patch) | |
tree | 1cd70a41107dcb69537e8d028e8dae3377435278 /Zotlabs/Lib/Activity.php | |
parent | 319b0acdd81851340b332c10aa29d437897ccde7 (diff) | |
parent | c605c46f83b6dc5141f2506ba4b0047b299c26de (diff) | |
download | volse-hubzilla-b1dec1289340385df3699db9e2fe84fe1e37cae5.tar.gz volse-hubzilla-b1dec1289340385df3699db9e2fe84fe1e37cae5.tar.bz2 volse-hubzilla-b1dec1289340385df3699db9e2fe84fe1e37cae5.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
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 0f34a60c5..9d11cc201 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']) { |