From f4db239964318dc137a3e7c3e73d5a9a743f3345 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Fri, 10 Feb 2023 22:20:31 +0000 Subject: [PATCH] Fix character limit patch --- patches/fix-character-limit.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/fix-character-limit.patch b/patches/fix-character-limit.patch index 1d65aba..63b907b 100644 --- a/patches/fix-character-limit.patch +++ b/patches/fix-character-limit.patch @@ -1,5 +1,5 @@ diff --git a/app/javascript/mastodon/features/compose/components/compose_form.js b/app/javascript/mastodon/features/compose/components/compose_form.js -index 6a65f44da..d67e29db3 100644 +index e641d59f4..0cc7719bb 100644 --- a/app/javascript/mastodon/features/compose/components/compose_form.js +++ b/app/javascript/mastodon/features/compose/components/compose_form.js @@ -90,7 +90,7 @@ class ComposeForm extends ImmutablePureComponent { @@ -8,10 +8,10 @@ index 6a65f44da..d67e29db3 100644 - return !(isSubmitting || isUploading || isChangingUpload || length(fulltext) > 500 || (isOnlyWhitespace && !anyMedia)); + return !(isSubmitting || isUploading || isChangingUpload || length(fulltext) > 100500 || (isOnlyWhitespace && !anyMedia)); - } + }; handleSubmit = (e) => { -@@ -277,7 +277,7 @@ class ComposeForm extends ImmutablePureComponent { +@@ -280,7 +280,7 @@ class ComposeForm extends ImmutablePureComponent {