Add instructions for authed media upgrade

Tulir Asokan 2025-03-25 20:10:33 +02:00
parent 1428c2968c
commit 7c455021f3

@ -39,4 +39,12 @@ Notes:
2. Run `sticker-pack <pack directory>`.
* If you want to override the pack displayname, pass `--title <custom title>`.
* Pass `--add-to-index web/packs/` if you want to automatically add the
generated pack to your sticker picker.
generated pack to your sticker picker.
## Updating old packs for authenticated media
As of March 2025, maunium-stickerpicker works around Matrix's authenticated media
requirements by hosting thumbnails of stickers next to the sticker pack metadata.
To update old packs, you can run `sticker-download-thumbnails path/to/pack.json`,
which will download all the media using your access token and store thumbnails in
the `thumbnails` directory next to the pack JSON. The thumbnails should then be
served along with the JSON files (if using GitHub pages, just commit the images).