new patch for Mastodon v4.3.x
Signed-off-by: Falko Zurell <falko@zurell.de>
This commit is contained in:
parent
c6e936e8bf
commit
90fc350467
1 changed files with 26 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
|||
From d04253848c2d53cc732e3cb0c6e31be91dd6107c Mon Sep 17 00:00:00 2001
|
||||
From: Falko Zurell <falko@zurell.de>
|
||||
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 <falko@zurell.de>
|
||||
---
|
||||
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)
|
||||
|
Loading…
Reference in a new issue