From 070dc14f313afcb04754bfac018e5a4e4f42b1c5 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 1 Jun 2019 21:31:03 -0600 Subject: [PATCH] Update Status model --- app/Status.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Status.php b/app/Status.php index 19c986d3..5441e95d 100644 --- a/app/Status.php +++ b/app/Status.php @@ -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);