mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-23 18:52:41 +00:00
Fix FetchFeaturedCollectionService (#18030)
This commit is contained in:
parent
7d00b04faf
commit
b8fab26c79
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue