change toot max charas

This commit is contained in:
bgme 2019-03-28 11:00:50 +00:00
parent 24d5b6f9e3
commit e853364606
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
class StatusLengthValidator < ActiveModel::Validator
MAX_CHARS = 500
MAX_CHARS = 10000
def validate(status)
return unless status.local? && !status.reblog?