Skip to content
Snippets Groups Projects
Unverified Commit 1de748bf authored by Jeong Arm's avatar Jeong Arm Committed by GitHub
Browse files

Fix FetchFeaturedCollectionService (#18030)

parent 85b34a8d
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ class ActivityPub::FetchFeaturedCollectionService < BaseService
next if ActivityPub::TagManager.instance.local_uri?(uri)
status = ActivityPub::FetchRemoteStatusService.new.call(uri, on_behalf_of: local_follower)
next unless status.account_id == @account.id
next unless status&.account_id == @account.id
status.id
rescue ActiveRecord::RecordInvalid => e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment