1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +00:00

Update Status model

This commit is contained in:
Daniel Supernault 2018-12-01 22:54:30 -07:00
parent c211e1c6ca
commit 3d7c97b0ed
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -18,13 +18,14 @@ class Status extends Model
*/ */
protected $dates = ['deleted_at']; 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 = [ const STATUS_TYPES = [
'photo', 'photo',
'photo:album', 'photo:album',
'video', 'video',
'video:album', 'video:album',
'photo:video:album'
'share', 'share',
'reply', 'reply',
'story', 'story',