]> cat aescling's git repositories - mastodon.git/commitdiff
Update resolve_url_service.rb (#9188)
authorm.b <mbajur@users.noreply.github.com>
Mon, 5 Nov 2018 17:54:07 +0000 (18:54 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 5 Nov 2018 17:54:07 +0000 (18:54 +0100)
app/services/resolve_url_service.rb

index 1db1917e27c2ef2edbc85058b0d69c80de908c07..ed0c569230f64f3e459eb7f893a3f55738fe8fbf 100644 (file)
@@ -20,7 +20,7 @@ class ResolveURLService < BaseService
   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