logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 0eff42d6887de6de95c8950155381945c6054433
parent: 1d92b90be9f494d90a6f79f53be9cca68562867e
Author: puckipedia <puck@puckipedia.com>
Date:   Mon,  8 Jan 2018 00:21:14 +0100

Move Article from supported to converted types (#6218)


Diffstat:

Mapp/lib/activitypub/activity/create.rb4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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?