Commit 10f7278e authored by Eugen Rochko's avatar Eugen Rochko
Browse files

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

parent 39e84d17
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment