Fix FetchFeaturedCollectionService
spec (#19401)
Regression from #19380
This commit is contained in:
parent
5e908c5a95
commit
94feb2b93f
2 changed files with 2 additions and 3 deletions
|
@ -43,8 +43,7 @@ class ActivityPub::FetchFeaturedCollectionService < BaseService
|
|||
|
||||
def process_note_items(items)
|
||||
status_ids = items.filter_map do |item|
|
||||
type = item['type']
|
||||
next unless type == 'Note'
|
||||
next unless item.is_a?(String) || item['type'] == 'Note'
|
||||
|
||||
uri = value_or_id(item)
|
||||
next if ActivityPub::TagManager.instance.local_uri?(uri)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue