1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-30 15:58:20 +09:00

fix/feed lmit, icon

This commit is contained in:
whippyshou 2023-11-03 03:51:39 +09:00
parent 68c7348e83
commit 96a814d31e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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