Update Status model, fixes #1637

pull/1770/head
Daniel Supernault 5 years ago
parent c952442077
commit ccaefe3f7f
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -370,8 +370,8 @@ class Status extends Model
return $mention->permalink();
})->toArray();
if($status->in_reply_to_id != null) {
$parent = $status->parent();
if($this->in_reply_to_id != null) {
$parent = $this->parent();
if($parent) {
$mentions = array_merge([$parent->profile->permalink()], $mentions);
}

Loading…
Cancel
Save