mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 11:35:29 +01:00
Move Article from supported to converted types (#6218)
This commit is contained in:
parent
1d92b90be9
commit
0eff42d688
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user