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

Update Status model, add text type

This commit is contained in:
Daniel Supernault 2018-12-12 00:16:44 -07:00
parent f40d4b77da
commit aecba4049a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -22,6 +22,7 @@ class Status extends Model
protected $fillable = ['profile_id', 'visibility', 'in_reply_to_id', 'reblog_of_id']; protected $fillable = ['profile_id', 'visibility', 'in_reply_to_id', 'reblog_of_id'];
const STATUS_TYPES = [ const STATUS_TYPES = [
'text',
'photo', 'photo',
'photo:album', 'photo:album',
'video', 'video',