|
@@ -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);
|