Browse Source

Fix NoMethodError at ActivityPub::FetchRemoteStatusService (#5753)

pull/4/head
abcang 6 years ago
committed by Eugen Rochko
parent
commit
2bcc81700c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/services/activitypub/fetch_remote_status_service.rb

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

@ -18,7 +18,7 @@ class ActivityPub::FetchRemoteStatusService < BaseService
actor = ActivityPub::TagManager.instance.uri_to_resource(actor_id, Account)
actor = ActivityPub::FetchRemoteAccountService.new.call(actor_id, id: true) if actor.nil? || needs_update(actor)
return if actor.suspended?
return if actor.nil? || actor.suspended?
ActivityPub::Activity.factory(activity_json, actor).perform
end

Loading…
Cancel
Save