Handle featured collections without items (#27581)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user