forked from mirrors/catstodon
Adjust initial_state_serializer to state of updated emoji reactions PR
This commit is contained in:
parent
40ef7b3849
commit
e4a333c6ae
1 changed files with 4 additions and 4 deletions
|
@ -17,14 +17,14 @@ class InitialStateSerializer < ActiveModel::Serializer
|
||||||
StatusLengthValidator::MAX_CHARS
|
StatusLengthValidator::MAX_CHARS
|
||||||
end
|
end
|
||||||
|
|
||||||
def max_feed_hashtags
|
|
||||||
TagFeed::LIMIT_PER_MODE
|
|
||||||
end
|
|
||||||
|
|
||||||
def max_reactions
|
def max_reactions
|
||||||
StatusReactionValidator::LIMIT
|
StatusReactionValidator::LIMIT
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def max_feed_hashtags
|
||||||
|
TagFeed::LIMIT_PER_MODE
|
||||||
|
end
|
||||||
|
|
||||||
def poll_limits
|
def poll_limits
|
||||||
{
|
{
|
||||||
min_options: PollValidator::MIN_OPTIONS,
|
min_options: PollValidator::MIN_OPTIONS,
|
||||||
|
|
Loading…
Reference in a new issue