diff options
author | Mario <mario@mariovavti.com> | 2023-05-15 08:03:27 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-05-15 08:03:27 +0000 |
commit | b50da2d8b783745d2dde3e82c5809effafd9b7d5 (patch) | |
tree | 0e40082173670f3aa0f4d6f5b7793c2cf79247a7 /Zotlabs/Lib/ActivityStreams.php | |
parent | 29e8e6d95c469c08cff7cd615319d1059f57e22e (diff) | |
download | volse-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.php | 1 |
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']; } |