1
0
Fork 1
forked from fedi/mastodon
mastodon/app/services/activitypub
Wiktor 7fe2993b87 Fix account URI when updating ActivityPub account (#7488)
Updates account `uri` field on each call to `update_account` instead of
only once during `create_account` to mirror the same behavior in OStatus
`ResolveAccountService` class [0].

ActivityPub accounts are identified using `@username` and `@domain` pair
instead of URI since #6842.

This fixes #7479: a bug when the account identified by `@username` and
`@domain` changes its URI.

[0]:
03b69ebc45/app/services/resolve_account_service.rb (L121)
2018-05-14 22:56:45 +02:00
..
fetch_featured_collection_service.rb Guard against nil URLs in Request class (#7284) 2018-05-02 15:44:22 +02:00
fetch_remote_account_service.rb Support Actors/Statuses with multiple types (#7305) 2018-05-02 12:40:24 +02:00
fetch_remote_key_service.rb Support Actors/Statuses with multiple types (#7305) 2018-05-02 12:40:24 +02:00
fetch_remote_status_service.rb Fetch boosted statuses on behalf of a follower (fixes #7426) (#7459) 2018-05-12 16:48:32 +02:00
process_account_service.rb Fix account URI when updating ActivityPub account (#7488) 2018-05-14 22:56:45 +02:00
process_collection_service.rb Fix handling of malformed ActivityPub payloads when URIs are nil (#7370) 2018-05-05 18:22:34 +02:00