mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Update Status model
This commit is contained in:
parent
d1c0e9aae9
commit
070dc14f31
1 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,12 @@ class Status extends Model
|
||||||
'loop'
|
'loop'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
const MAX_MENTIONS = 5;
|
||||||
|
|
||||||
|
const MAX_HASHTAGS = 30;
|
||||||
|
|
||||||
|
const MAX_LINKS = 2;
|
||||||
|
|
||||||
public function profile()
|
public function profile()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Profile::class);
|
return $this->belongsTo(Profile::class);
|
||||||
|
|
Loading…
Reference in a new issue