Commit 6ff3b3e4 authored by Nolan Lawson's avatar Nolan Lawson Committed by Eugen Rochko

Fix nil account issue in ProcessAccountService (#7019)

parent 2e597518
......@@ -28,7 +28,7 @@ class ActivityPub::ProcessAccountService < BaseService
after_protocol_change! if protocol_changed?
after_key_change! if key_changed?
check_featured_collection! if @account.featured_collection_url.present?
check_featured_collection! if @account&.featured_collection_url&.present?
@account
rescue Oj::ParseError
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment