aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-03-04 16:09:44 +0000
committerMario <mario@mariovavti.com>2022-03-04 16:09:44 +0000
commitbee7549a1e780f8785ccf4c7a9861825eefb187d (patch)
tree82527d141ba9838949b26a2623b526a7e7031386 /Zotlabs
parentdb14dbacc9290f63d12804398924af55c62eee1d (diff)
downloadvolse-hubzilla-bee7549a1e780f8785ccf4c7a9861825eefb187d.tar.gz
volse-hubzilla-bee7549a1e780f8785ccf4c7a9861825eefb187d.tar.bz2
volse-hubzilla-bee7549a1e780f8785ccf4c7a9861825eefb187d.zip
fix regression
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Activity.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index b7153dd6d..6ed88e031 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -501,7 +501,7 @@ class Activity {
$ret['attributedTo'] = $i['author']['xchan_url'];
- if ($i['id'] != $i['parent']) {
+ if ($i['mid'] !== $i['parent_mid']) {
$ret['inReplyTo'] = ((strpos($i['thr_parent'], 'http') === 0) ? $i['thr_parent'] : z_root() . '/item/' . urlencode($i['thr_parent']));
}
@@ -875,7 +875,7 @@ class Activity {
}
}
- if ($i['id'] != $i['parent']) {
+ if ($i['mid'] !== $i['parent_mid']) {
$reply = true;
// inReplyTo needs to be set in the activity for followup actions (Like, Dislike, Announce, etc.),