Fix nil account issue in ProcessAccountService (#7019)

lolsob-rspec
Nolan Lawson 2018-04-03 04:08:11 -07:00 committed by Eugen Rochko
parent 078aa8b5ae
commit 3e30ac6b7d
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class ActivityPub::ProcessAccountService < BaseService
after_protocol_change! if protocol_changed? after_protocol_change! if protocol_changed?
after_key_change! if key_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 @account
rescue Oj::ParseError rescue Oj::ParseError