gotosocial/internal/federation/dereferencing
kim 6ac1dda96f
[chore] small changes missed in previous dereferencer.GetAccount() PRs (#1467)
* small formatting changes, rewrite fetchRemoteMedia to use separate funcs + use mutex lock correctly

* move url parsing before acquiring mutex locks

* use wrapped mutexes to allow safe unlocking. (previously i did a fucky and passed mutex by value...)

* remove unused code

* use consistent map keying for dereferencing headers/avatars

---------

Signed-off-by: kim <grufwub@gmail.com>
2023-02-10 20:15:23 +00:00
..
account_test.go [chore] reformat GetAccount() functionality, support updating accounts based on last_fetch (#1411) 2023-02-03 20:03:05 +00:00
account.go [chore] small changes missed in previous dereferencer.GetAccount() PRs (#1467) 2023-02-10 20:15:23 +00:00
announce.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
collectionpage.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
dereferencer_test.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
dereferencer.go [chore] small changes missed in previous dereferencer.GetAccount() PRs (#1467) 2023-02-10 20:15:23 +00:00
emoji_test.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
emoji.go [chore] small changes missed in previous dereferencer.GetAccount() PRs (#1467) 2023-02-10 20:15:23 +00:00
error.go [chore] reformat GetAccount() functionality, support updating accounts based on last_fetch (#1411) 2023-02-03 20:03:05 +00:00
finger.go [performance] Don't fetch avatar + header if uri hasn't changed (#1463) 2023-02-09 09:27:07 +01:00
handshake.go [chore] reformat GetAccount() functionality, support updating accounts based on last_fetch (#1411) 2023-02-03 20:03:05 +00:00
instance.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
media_test.go [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
media.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
status_test.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
status.go [chore] reformat GetAccount() functionality, support updating accounts based on last_fetch (#1411) 2023-02-03 20:03:05 +00:00
thread.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00