diff --git a/character-limit-patch.patch/v4.3-increase-character-limit-from-500-to-5000.patch b/character-limit-patch.patch/v4.3-increase-character-limit-from-500-to-5000.patch new file mode 100644 index 0000000..283c1ca --- /dev/null +++ b/character-limit-patch.patch/v4.3-increase-character-limit-from-500-to-5000.patch @@ -0,0 +1,26 @@ +From d04253848c2d53cc732e3cb0c6e31be91dd6107c Mon Sep 17 00:00:00 2001 +From: Falko Zurell +Date: Tue, 8 Oct 2024 15:27:02 +0200 +Subject: [PATCH] adjust post character limit to 5000 chars for 4.3.x + +Signed-off-by: Falko Zurell +--- + 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 dc841ded3..9cb1ec94b 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 = 5000 + URL_PLACEHOLDER_CHARS = 23 + URL_PLACEHOLDER = 'x' * 23 + +-- +2.39.5 (Apple Git-154) +