From e6ca842079d47e558adf455ae42b7c3c332975a6 Mon Sep 17 00:00:00 2001 From: Nathan Sparrow <24910097+DismalShadowX@users.noreply.github.com> Date: Sat, 1 Jun 2024 21:33:46 -0400 Subject: [PATCH] Increase character length to 4242 (#24) Signed-off-by: Nathan Sparrow <24910097+DismalShadowX@users.noreply.github.com> --- app/validators/status_length_validator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/validators/status_length_validator.rb b/app/validators/status_length_validator.rb index dc841ded3e16bc..a36faf2a11c79d 100644 --- a/app/validators/status_length_validator.rb +++ b/app/validators/status_length_validator.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class StatusLengthValidator < ActiveModel::Validator - MAX_CHARS = 500 + MAX_CHARS = 4242 URL_PLACEHOLDER_CHARS = 23 URL_PLACEHOLDER = 'x' * 23