-
- Downloads
Fix resolving accounts sometimes creating duplicate records for a given AP id (#15364)
* Fix ResolveAccountService accepting mismatching acct: URI
* Set attributes that should be updated regardless of suspension
* Fix key fetching
* Automatically merge remote accounts with duplicate `uri`
* Add tests
* Add "tootctl accounts fix-duplicates"
Finds duplicate accounts sharing a same ActivityPub `id`, re-fetch them and
merge them under the canonical `acct:` URI.
Co-authored-by:
Claire <claire.github-309c@sitedethib.com>
Showing
- app/services/activitypub/fetch_remote_account_service.rb 1 addition, 1 deletionapp/services/activitypub/fetch_remote_account_service.rb
- app/services/activitypub/process_account_service.rb 22 additions, 6 deletionsapp/services/activitypub/process_account_service.rb
- app/services/resolve_account_service.rb 3 additions, 14 deletionsapp/services/resolve_account_service.rb
- app/workers/account_merging_worker.rb 18 additions, 0 deletionsapp/workers/account_merging_worker.rb
- lib/mastodon/accounts_cli.rb 19 additions, 0 deletionslib/mastodon/accounts_cli.rb
- spec/services/resolve_account_service_spec.rb 53 additions, 3 deletionsspec/services/resolve_account_service_spec.rb
app/workers/account_merging_worker.rb
0 → 100644
Please register or sign in to comment