Fix class autoloading issue in ActivityPub::Activity::Create (#8820)

th-downstream
Eugen Rochko 6 years ago committed by GitHub
parent a976cb4b04
commit ea769a7d02

@ -92,7 +92,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
return if tag['href'].blank?
account = account_from_uri(tag['href'])
account = FetchRemoteAccountService.new.call(tag['href'], id: false) if account.nil?
account = ::FetchRemoteAccountService.new.call(tag['href'], id: false) if account.nil?
return if account.nil?
account.mentions.create(status: status)
end

Loading…
Cancel
Save