diff options
author | Nolan Lawson <nolan@nolanlawson.com> | 2018-04-03 04:08:11 -0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-04-03 13:08:11 +0200 |
commit | 6ff3b3e4db09c8ddf2faad6710e4a25f988e762d (patch) | |
tree | feecb44ad0d5c436f6d0c5134207fe693492bfc0 /app | |
parent | 2e59751823585a8ef8729d4287239b326ab02193 (diff) |
Fix nil account issue in ProcessAccountService (#7019)
Diffstat (limited to 'app')
-rw-r--r-- | app/services/activitypub/process_account_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/activitypub/process_account_service.rb b/app/services/activitypub/process_account_service.rb index cf8462821..21c2fc57a 100644 --- a/app/services/activitypub/process_account_service.rb +++ b/app/services/activitypub/process_account_service.rb @@ -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 |