mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
parser issue
This commit is contained in:
parent
de436bbb26
commit
8fd73a2431
1 changed files with 3 additions and 0 deletions
|
@ -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'];
|
||||
|
|
Loading…
Reference in a new issue