1
0
Daniel Supernault 5 жил өмнө
parent
commit
ccaefe3f7f
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      app/Status.php

+ 2 - 2
app/Status.php

@@ -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);
             }