gotosocial/internal/federation
tobi 561ad71e58
[bugfix] Fix up error getting account avatar/header errors, other small fixes (#1496)
* start fiddling with media + account queries a little

* initialize state when pruning

* allow for unsetting remote media
make sure to wait til media loaded
fix silly tiny bug

* move comment a bit for readability

* slight reformat of fetchRemoteAccount{Avatar,Header}

* fix issue after rebase

* slightly neaten up logic of avatar/header media handling

* remove log prefix (callername log field handles this)

---------

Signed-off-by: kim <grufwub@gmail.com>
Co-authored-by: kim <grufwub@gmail.com>
2023-02-13 20:19:51 +00:00
..
dereferencing [bugfix] Fix up error getting account avatar/header errors, other small fixes (#1496) 2023-02-13 20:19:51 +00:00
federatingdb [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
authenticate.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
clock.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
commonbehavior.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
federatingactor.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
federatingactor_test.go [chore] Remove omitempty on account source; refactor tests to use prettyprint json (#1337) 2023-01-13 17:02:45 +01:00
federatingprotocol.go [chore] reformat GetAccount() functionality, support updating accounts based on last_fetch (#1411) 2023-02-03 20:03:05 +00:00
federatingprotocol_test.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
federator.go [chore] reformat GetAccount() functionality, support updating accounts based on last_fetch (#1411) 2023-02-03 20:03:05 +00:00
federator_test.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
gone.go [chore] reformat GetAccount() functionality, support updating accounts based on last_fetch (#1411) 2023-02-03 20:03:05 +00:00
handshake.go [chore] reformat GetAccount() functionality, support updating accounts based on last_fetch (#1411) 2023-02-03 20:03:05 +00:00
transport.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00