Skip to content
Snippets Groups Projects
Commit 0eff42d6 authored by puckipedia's avatar puckipedia Committed by Eugen Rochko
Browse files

Move Article from supported to converted types (#6218)

parent 1d92b90b
No related branches found
No related tags found
No related merge requests found
# 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?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment