Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

Commit

Permalink
Update resolve_url_service.rb (mastodon#9188)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbajur authored and Gargron committed Nov 23, 2018
1 parent 449e6e4 commit 430499f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/resolve_url_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def call(url, on_behalf_of: nil)
def process_url
if equals_or_includes_any?(type, %w(Application Group Organization Person Service))
FetchRemoteAccountService.new.call(atom_url, body, protocol)
elsif equals_or_includes_any?(type, %w(Note Article Image Video))
elsif equals_or_includes_any?(type, %w(Note Article Image Video Page))
FetchRemoteStatusService.new.call(atom_url, body, protocol)
end
end
Expand Down

0 comments on commit 430499f

Please sign in to comment.