Fix sticker names being accumulated

This commit is contained in:
Cadence Ember
2024-09-12 17:18:15 +12:00
parent 915c34646a
commit eaa3b87670

View File

@@ -66,7 +66,7 @@ async function stickersToState(stickers) {
while (shortcodes.includes(shortcode)) shortcode = shortcode + "~"
shortcodes.push(shortcode)
result.images[shortcodes] = {
result.images[shortcode] = {
info: {
mimetype: file.stickerFormat.get(sticker.format_type)?.mime || "image/png"
},