mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-18 00:54:49 +01:00
Fix searching already-known converted activities by URL (#17814)
Fixes #17813
This commit is contained in:
parent
e798c1c64c
commit
c9b3cf8510
@ -8,6 +8,8 @@ class ActivityPub::Activity::Update < ActivityPub::Activity
|
|||||||
update_account
|
update_account
|
||||||
elsif equals_or_includes_any?(@object['type'], %w(Note Question))
|
elsif equals_or_includes_any?(@object['type'], %w(Note Question))
|
||||||
update_status
|
update_status
|
||||||
|
elsif converted_object_type?
|
||||||
|
Status.find_by(uri: object_uri, account_id: @account.id)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user