about summary refs log tree commit diff
path: root/app/services/search_service.rb
diff options
context:
space:
mode:
authorWiktor <wiktor@metacode.biz>2018-05-14 22:56:45 +0200
committerEugen Rochko <eugen@zeonfederated.com>2018-05-14 22:56:45 +0200
commit7fe2993b878339c277d9156f994c7e8ec21dd2ee (patch)
tree672569e7e95eb21fb878c4167b2eca6395fcd4b6 /app/services/search_service.rb
parent03b69ebc450efc07246bd64204276941b7ede3fc (diff)
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]:
https://github.com/tootsuite/mastodon/blob/03b69ebc450efc07246bd64204276941b7ede3fc/app/services/resolve_account_service.rb#L121
Diffstat (limited to 'app/services/search_service.rb')
0 files changed, 0 insertions, 0 deletions