parser issue

This commit is contained in:
Mike Macgirvin 2024-05-23 09:21:51 +10:00
parent de436bbb26
commit 8fd73a2431

View file

@ -157,6 +157,9 @@ class ActivityStreams
// Determine if this is a followup or response activity
$this->parent_id = $this->get_property_obj('inReplyTo');
if (!empty($this->parent_id['id'])) {
$this->parent_id = $this->parent_id['id'];
}
if ((!$this->parent_id) && is_array($this->obj)) {
$this->parent_id = $this->obj['inReplyTo'];