diff options
author | puckipedia <puck@puckipedia.com> | 2018-01-08 00:21:14 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-01-08 00:21:14 +0100 |
commit | 0eff42d6887de6de95c8950155381945c6054433 (patch) | |
tree | ec0b11453dbcfaf7df61689ad7cd8e66184f27e6 /app/lib/activitypub/activity | |
parent | 1d92b90be9f494d90a6f79f53be9cca68562867e (diff) |
Move Article from supported to converted types (#6218)
Diffstat (limited to 'app/lib/activitypub/activity')
-rw-r--r-- | app/lib/activitypub/activity/create.rb | 4 |
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? |