Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Commit

Permalink
Fix class autoloading issue in ActivityPub::Activity::Create (mastodo…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored and abcang committed Oct 9, 2018
1 parent af94bc3 commit 2c277c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/activitypub/activity/create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def process_mention(tag, status)
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
Expand Down

0 comments on commit 2c277c1

Please sign in to comment.