Explorar o código

Update Status model

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
070dc14f31
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      app/Status.php

+ 6 - 0
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);