aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/fetchLists.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2025-09-03 10:27:49 +0200
committerstonedDiscord <Tukz@gmx.de>2025-09-03 10:27:49 +0200
commite58dcb7186bb3c80ba87279a6643fcb4b8b3b2be (patch)
tree8de01c198902b2341fc53029025681735225c807 /webAO/client/fetchLists.ts
parent14b569e05ab43baf76fd6404ca50a2b05a843134 (diff)
emotions
Diffstat (limited to 'webAO/client/fetchLists.ts')
-rw-r--r--webAO/client/fetchLists.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/webAO/client/fetchLists.ts b/webAO/client/fetchLists.ts
index 68b1a43..7940eea 100644
--- a/webAO/client/fetchLists.ts
+++ b/webAO/client/fetchLists.ts
@@ -73,8 +73,10 @@ export const fetchExtensions = async () => {
const allextensions = JSON.parse(extensiondata);
client.charicon_extensions = allextensions.charicon_extensions || [".png", ".webp"];
client.emote_extensions = allextensions.emote_extensions || [".gif", ".png", ".apng", ".webp", ".webp.static"];
+ client.emotions_extensions = allextensions.emotions_extensions || [".png", ".webp"];
console.log("charicons "+client.charicon_extensions)
console.log("emotes "+client.emote_extensions)
+ console.log("emotions "+client.emotions_extensions)
} catch (err) {
console.warn("there was no extensions.json file");
}