aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-04-06 22:06:50 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-04-18 16:52:23 +0000
commit3e5eda1fd61ab057472c4e8734ba57e1a0c84a33 (patch)
tree8e69286ac06098689e3b1531ccdd053399483254 /webAO
parent6a7a4f68711432d73fbf1355f15402fa6d31aafa (diff)
Remove attorneyMarkdown
It only caused chat_config.ini to be requested a lot.
Diffstat (limited to 'webAO')
-rw-r--r--webAO/viewport/utils/handleICSpeaking.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/webAO/viewport/utils/handleICSpeaking.ts b/webAO/viewport/utils/handleICSpeaking.ts
index b48a445..668d92f 100644
--- a/webAO/viewport/utils/handleICSpeaking.ts
+++ b/webAO/viewport/utils/handleICSpeaking.ts
@@ -16,10 +16,6 @@ import preloadMessageAssets from "./preloadMessageAssets";
let attorneyMarkdown: ReturnType<typeof mlConfig> | null = null;
const initAttorneyMarkdown = async () => {
- if (!attorneyMarkdown) {
- const iniContent = await request(`${AO_HOST}themes/default/chat_config.ini`);
- attorneyMarkdown = mlConfig(iniContent);
- }
return attorneyMarkdown;
};