Relax account display name length limit (#39458)

This commit is contained in:
Matt Jankowski 2026-06-17 04:17:10 -04:00 committed by Claire
parent e85019c17e
commit 8ea7732343

View File

@ -76,7 +76,7 @@ class Account < ApplicationRecord
URL_PREFIX_RE = %r{\Ahttp(s?)://[^/]+}
USERNAME_ONLY_RE = /\A#{USERNAME_RE}\z/i
USERNAME_LENGTH_LIMIT = 30
DISPLAY_NAME_LENGTH_LIMIT = 30
DISPLAY_NAME_LENGTH_LIMIT = 40
NOTE_LENGTH_LIMIT = 500
# Hard limits for federated content