瀏覽代碼

Update Status model

Daniel Supernault 6 年之前
父節點
當前提交
3d7c97b0ed
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/Status.php

+ 2 - 1
app/Status.php

@@ -18,13 +18,14 @@ class Status extends Model
      */
     protected $dates = ['deleted_at'];
 
-    protected $fillable = ['profile_id', 'visibility', 'in_reply_to_id'];
+    protected $fillable = ['profile_id', 'visibility', 'in_reply_to_id', 'reblog_of_id'];
 
     const STATUS_TYPES = [
         'photo',
         'photo:album',
         'video',
         'video:album',
+        'photo:video:album'
         'share',
         'reply',
         'story',