aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ActivityStreams.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-05-15 08:03:27 +0000
committerMario <mario@mariovavti.com>2023-05-15 08:03:27 +0000
commitb50da2d8b783745d2dde3e82c5809effafd9b7d5 (patch)
tree0e40082173670f3aa0f4d6f5b7793c2cf79247a7 /Zotlabs/Lib/ActivityStreams.php
parent29e8e6d95c469c08cff7cd615319d1059f57e22e (diff)
downloadvolse-hubzilla-b50da2d8b783745d2dde3e82c5809effafd9b7d5.tar.gz
volse-hubzilla-b50da2d8b783745d2dde3e82c5809effafd9b7d5.tar.bz2
volse-hubzilla-b50da2d8b783745d2dde3e82c5809effafd9b7d5.zip
fix parent_mid and thr_parent not set correctly for response activities
Diffstat (limited to 'Zotlabs/Lib/ActivityStreams.php')
-rw-r--r--Zotlabs/Lib/ActivityStreams.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Lib/ActivityStreams.php b/Zotlabs/Lib/ActivityStreams.php
index 9e460ff75..f07f99ac3 100644
--- a/Zotlabs/Lib/ActivityStreams.php
+++ b/Zotlabs/Lib/ActivityStreams.php
@@ -126,6 +126,7 @@ class ActivityStreams {
if ((!$this->parent_id) && is_array($this->obj) && isset($this->obj['inReplyTo'])) {
$this->parent_id = $this->obj['inReplyTo'];
}
+
if ((!$this->parent_id) && is_array($this->obj) && isset($this->obj['id'])) {
$this->parent_id = $this->obj['id'];
}