All cybrespace changes through 5/28

This commit is contained in:
Chronister
2017-05-29 00:09:12 +00:00
committed by beatrix-bitrot
parent 382572c213
commit 65528fc54e
27 changed files with 132 additions and 82 deletions

View File

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