diff options
| author | stonedDiscord <Tukz@gmx.de> | 2025-09-03 08:39:19 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2025-09-03 08:39:19 +0200 |
| commit | 3162071cb27510954dde918af629ed5d75deb583 (patch) | |
| tree | 2e9e81b5942f50ac6e470049b0fe3093a4eb4672 /webAO/client.ts | |
| parent | 8e46e304f4defc7f9f4eb01922812b28a8585307 (diff) | |
get list of extensions to try from host
Diffstat (limited to 'webAO/client.ts')
| -rw-r--r-- | webAO/client.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webAO/client.ts b/webAO/client.ts index 4d8390a..28679c0 100644 --- a/webAO/client.ts +++ b/webAO/client.ts @@ -151,6 +151,8 @@ class Client extends EventEmitter { connect: () => void; loadResources: () => void; isLowMemory: () => void; + charicon_extensions: string[]; + emote_extensions: string[]; constructor(connectionString: string) { super(); @@ -209,6 +211,8 @@ class Client extends EventEmitter { this.temp_packet = ""; loadResources; isLowMemory; + this.charicon_extensions = [".png", ".webp"]; + this.emote_extensions = [".gif", ".png", ".apng", ".webp", ".webp.static"]; } /** |
