Account notes (bios) can now contain links. Character limit upped to 160
This commit is contained in:
parent
b835f4aa1c
commit
23fc424b7a
6 changed files with 42 additions and 7 deletions
|
@ -21,7 +21,7 @@ class Account < ApplicationRecord
|
|||
|
||||
# Local user profile validations
|
||||
validates :display_name, length: { maximum: 30 }, if: 'local?'
|
||||
validates :note, length: { maximum: 124 }, if: 'local?'
|
||||
validates :note, length: { maximum: 160 }, if: 'local?'
|
||||
|
||||
# Timelines
|
||||
has_many :stream_entries, inverse_of: :account, dependent: :destroy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue