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

Update Status model

This commit is contained in:
Daniel Supernault 2019-06-01 21:31:03 -06:00
parent d1c0e9aae9
commit 070dc14f31
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -44,6 +44,12 @@ class Status extends Model
'loop'
];
const MAX_MENTIONS = 5;
const MAX_HASHTAGS = 30;
const MAX_LINKS = 2;
public function profile()
{
return $this->belongsTo(Profile::class);