about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorDaggertooth <dev@monsterpit.net>2018-04-15 01:49:23 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:20 -0500
commitb8ef3027da052524fe4a45aeb6a020de82568547 (patch)
treeed3c25a4710165846efceed2816c1839143e184f /app
parent41642c66687cc61467823c6848631a549a9ee58b (diff)
Raise description text max length
Diffstat (limited to 'app')
-rw-r--r--app/models/media_attachment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb
index ea17bae1d..4dcf54520 100644
--- a/app/models/media_attachment.rb
+++ b/app/models/media_attachment.rb
@@ -121,7 +121,7 @@ class MediaAttachment < ApplicationRecord
   include Attachmentable
 
   validates :account, presence: true
-  validates :description, length: { maximum: 420 }, if: :local?
+  validates :description, length: { maximum: 666 }, if: :local?
 
   scope :attached,   -> { where.not(status_id: nil).or(where.not(scheduled_status_id: nil)) }
   scope :unattached, -> { where(status_id: nil, scheduled_status_id: nil) }