gotosocial/internal/federation/dereferencing
kim 5fd52369c9 [performance] handle emoji refreshes asynchronously when fetched as part of account|status dereferences (#4486)
# Description

Updates our dereferencer emoji handling to work asynchronously when going through the route of account or status dereferencing.

closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4485

## Checklist

- [x] I/we have read the [GoToSocial contribution guidelines](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md).
- [x] I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat.
- [x] I/we have not leveraged AI to create the proposed changes.
- [x] I/we have performed a self-review of added code.
- [x] I/we have written code that is legible and maintainable by others.
- [ ] I/we have commented the added code, particularly in hard-to-understand areas.
- [ ] I/we have made any necessary changes to documentation.
- [ ] I/we have added tests that cover new code.
- [ ] I/we have run tests and they pass locally with the changes.
- [x] I/we have run `go fmt ./...` and `golangci-lint run`.

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4486
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
2025-10-08 14:13:40 +02:00
..
account.go [feature] Support incoming avatar/header descriptions (#4275) 2025-06-19 15:10:41 +02:00
account_test.go [feature] Support incoming avatar/header descriptions (#4275) 2025-06-19 15:10:41 +02:00
announce.go [chore] migration to update statuses.thread_id to be notnull (#4160) 2025-05-26 15:33:42 +02:00
authenticate.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
collection.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
dereferencer.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
dereferencer_test.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
emoji.go [performance] handle emoji refreshes asynchronously when fetched as part of account|status dereferences (#4486) 2025-10-08 14:13:40 +02:00
emoji_test.go [performance] handle emoji refreshes asynchronously when fetched as part of account|status dereferences (#4486) 2025-10-08 14:13:40 +02:00
finger.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
handshake.go [chore/security] refactor AuthenticateFederatedRequest() to handle account deref + suspension checks (#2371) 2023-11-21 11:35:30 +01:00
instance.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
instance_test.go [chore] Upgrade to Go 1.24 (#4187) 2025-05-22 12:26:11 +02:00
media.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
status.go [bugfix] Update interaction policies of freshly dereffed statuses if different from last deref (#4474) 2025-10-05 13:33:16 +02:00
status_permitted.go [feature] Support new model of interaction flow for forward compat with v0.21.0 (#4394) 2025-09-14 15:37:35 +02:00
status_test.go [bugfix] status refresh race condition causing double edit notifications (#4470) 2025-10-03 15:50:57 +02:00
thread.go [performance] bump codeberg.org/gruf/go-kv to v2 (#4341) 2025-07-29 09:23:20 +02:00
util.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00