Browse Source

Fix nil account issue in ProcessAccountService (#7019)

pull/4/head
Nolan Lawson 6 years ago
committed by Eugen Rochko
parent
commit
6ff3b3e4db
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/services/activitypub/process_account_service.rb

+ 1
- 1
app/services/activitypub/process_account_service.rb View File

@ -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

Loading…
Cancel
Save