about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-17 12:30:12 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commit500b485b771a789e3e25f58cf33728bff3881f7a (patch)
treeb555f0139323cfb8e805071b8b74c48fc7d2b127
parentcea2baf2e0af3b0c7fe1fe31cb74f94e3ad42b71 (diff)
Raise invite request text limit. Carry a kobold on tail.
-rw-r--r--app/models/user_invite_request.rb2
-rw-r--r--config/locales/simple_form.en.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/models/user_invite_request.rb b/app/models/user_invite_request.rb
index 2b76c88b9..0632e837d 100644
--- a/app/models/user_invite_request.rb
+++ b/app/models/user_invite_request.rb
@@ -13,5 +13,5 @@
 
 class UserInviteRequest < ApplicationRecord
   belongs_to :user, inverse_of: :invite_request
-  validates :text, presence: true, length: { maximum: 420 }
+  validates :text, presence: true, length: { maximum: 6666 }
 end
diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml
index 06c4b3f52..60add735b 100644
--- a/config/locales/simple_form.en.yml
+++ b/config/locales/simple_form.en.yml
@@ -149,7 +149,7 @@ en:
         must_be_following: Block notifications from monsters you aren't in the pack of
         must_be_following_dm: Block whispers from monsters you aren't in the pack of
       invite_request:
-        text: Introduce yourself! What brings you to Monsterpit?
+        text: Introduce yourself! What brings you to Monsterpit? The last word in this field must be '#kobold' without vowels.
       notification_emails:
         digest: Send digest e-mails
         favourite: Send e-mail when someone admires your roar