mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Fix FetchFeaturedCollectionService (#18030)
This commit is contained in:
parent
85b34a8d62
commit
1de748bf5e
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…
Reference in a new issue