You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/services/activitypub
ThibG 3704402dcc
Fix duplicate accounts being created when fetching an account for its key only (#13147)
Fixes #13136

When a user's canonical acct domain is different from its id's domain
(WEB_DOMAIN ≠ LOCAL_DOMAIN), two webfinger queries are required to find the
canonical domain from the URI. However, we skip webfinger queries when
updating only the key of a remote user, which led to the creation of a
duplicate account, using the URI's domain instead of the canonical acct: one.
5 years ago
..
fetch_featured_collection_service.rb
fetch_remote_account_service.rb
fetch_remote_key_service.rb
fetch_remote_poll_service.rb
fetch_remote_status_service.rb
fetch_replies_service.rb
process_account_service.rb
process_collection_service.rb
process_poll_service.rb