2
0

Handle featured collections without items (#27581)

This commit is contained in:
Jeong Arm
2023-10-27 11:36:22 +09:00
committed by GitHub
parent fa7e64df1d
commit 8f998cd96a
2 changed files with 13 additions and 0 deletions

View File

@@ -37,6 +37,8 @@ class ActivityPub::FetchFeaturedCollectionService < BaseService
end
def process_items(items)
return if items.nil?
process_note_items(items) if @options[:note]
process_hashtag_items(items) if @options[:hashtag]
end