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 {