You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gotosocial/internal/cleaner
kim b85a9983d0
[bugfix] fix emoji recaching operations (#3167)
* add test for emoji update image

* update emoji recache to set the instance account id

* don't refresh emoji if only not cached. in that case literally just recache

* code comment

* rename + move a few things

* add some more code comments, and rename some functions to make logic a bit clearer

* remove unnecessary nil check (the value can be nil)

* comment wording

* remove test data output

* handle the case of caching an emoji which has been refreshed then uncached

* allow overwriting on testrig storage as we do now on regular storage

* fix emoji category ID not getting updated

---------

Co-authored-by: tobi <tobi.smethurst@protonmail.com>
5 months ago
..
cleaner.go [bugfix] media.Processor{}.GetFile() returning 404s on first call, correctly loading on 2nd (#3129) 5 months ago
cleaner_test.go [bugfix] process account delete side effects in serial, not in parallel (#2360) 1 year ago
emoji.go [feature] do not uncache status / emoji media if attached status is bookmarked (#2956) 7 months ago
emoji_test.go [bugfix/frontend] fix typo and other oddness in patchRemoteEmojis (#2281) 1 year ago
media.go [bugfix] media.Processor{}.GetFile() returning 404s on first call, correctly loading on 2nd (#3129) 5 months ago
media_test.go [bugfix] fix emoji recaching operations (#3167) 5 months ago