mirror of
https://github.com/whippyshou/mastodon
synced 2024-11-27 14:28:55 +09:00
fix/feed lmit, icon
This commit is contained in:
parent
68c7348e83
commit
96a814d31e
@ -7,7 +7,7 @@ class FeedManager
|
||||
include Redisable
|
||||
|
||||
# Maximum number of items stored in a single feed
|
||||
MAX_ITEMS = 800
|
||||
MAX_ITEMS = 3000
|
||||
|
||||
# Number of items in the feed since last reblog of status
|
||||
# before the new reblog will be inserted. Must be <= MAX_ITEMS
|
||||
|
@ -38,7 +38,7 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer
|
||||
|
||||
has_one :endpoints, serializer: EndpointsSerializer
|
||||
|
||||
has_one :icon, serializer: ActivityPub::ImageSerializer, if: :avatar_exists?
|
||||
has_one :icon, serializer: ActivityPub::ImageSerializer
|
||||
has_one :image, serializer: ActivityPub::ImageSerializer, if: :header_exists?
|
||||
|
||||
delegate :suspended?, :instance_actor?, to: :object
|
||||
|
Loading…
Reference in New Issue
Block a user