Skip to content

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 committed Oct 7, 2018
1 parent 39e84d1 commit 10f7278
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 @@ -92,7 +92,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 10f7278

Please sign in to comment.