Add support for Update of converted object types (#36322)
This commit is contained in:
@@ -8,10 +8,8 @@ class ActivityPub::Activity::Update < ActivityPub::Activity
|
||||
|
||||
if equals_or_includes_any?(@object['type'], %w(Application Group Organization Person Service))
|
||||
update_account
|
||||
elsif equals_or_includes_any?(@object['type'], %w(Note Question))
|
||||
elsif supported_object_type? || converted_object_type?
|
||||
update_status
|
||||
elsif converted_object_type?
|
||||
Status.find_by(uri: object_uri, account_id: @account.id)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user