投稿文字数上限を2048文字に
This commit is contained in:
parent
341651f09c
commit
30ce8dd0dc
@ -1,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class StatusLengthValidator < ActiveModel::Validator
|
||||
MAX_CHARS = 500
|
||||
MAX_CHARS = 2048
|
||||
|
||||
def validate(status)
|
||||
return unless status.local? && !status.reblog?
|
||||
|
Loading…
Reference in New Issue
Block a user