mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-18 00:03:16 +00:00
change toot max charas
This commit is contained in:
parent
24d5b6f9e3
commit
e853364606
2 changed files with 4 additions and 4 deletions
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue