0
0
Fork 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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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