about summary refs log tree commit diff
diff options
context:
space:
mode:
authorpuckipedia <puck@puckipedia.com>2018-01-08 00:21:14 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-01-08 00:21:14 +0100
commit0eff42d6887de6de95c8950155381945c6054433 (patch)
treeec0b11453dbcfaf7df61689ad7cd8e66184f27e6
parent1d92b90be9f494d90a6f79f53be9cca68562867e (diff)
Move Article from supported to converted types (#6218)
-rw-r--r--app/lib/activitypub/activity/create.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/activitypub/activity/create.rb b/app/lib/activitypub/activity/create.rb
index 3a985c19b..d96446b56 100644
--- a/app/lib/activitypub/activity/create.rb
+++ b/app/lib/activitypub/activity/create.rb
@@ -1,8 +1,8 @@
 # frozen_string_literal: true
 
 class ActivityPub::Activity::Create < ActivityPub::Activity
-  SUPPORTED_TYPES = %w(Article Note).freeze
-  CONVERTED_TYPES = %w(Image Video).freeze
+  SUPPORTED_TYPES = %w(Note).freeze
+  CONVERTED_TYPES = %w(Image Video Article).freeze
 
   def perform
     return if delete_arrived_first?(object_uri) || unsupported_object_type?