Increase max character count to 700

This commit is contained in:
Sirius 2023-09-25 00:56:51 +02:00
parent cff44d9fb2
commit ce072ff4cc
2 changed files with 2 additions and 2 deletions

View file

@ -297,7 +297,7 @@ class ComposeForm extends ImmutablePureComponent {
</div>
<div className='character-counter__wrapper'>
<CharacterCounter max={500} text={this.getFulltextForCharacterCounting()} />
<CharacterCounter max={700} text={this.getFulltextForCharacterCounting()} />
</div>
</div>
</div>

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
class StatusLengthValidator < ActiveModel::Validator
MAX_CHARS = 500
MAX_CHARS = 700
URL_PLACEHOLDER_CHARS = 23
URL_PLACEHOLDER = 'x' * 23