补充前端模块状态说明注释

This commit is contained in:
2026-04-25 10:14:20 +08:00
parent 8886f5c690
commit 4b1d47e96c
4 changed files with 7 additions and 0 deletions
@@ -3,6 +3,7 @@
export const BLOCKABLE_SYSTEM_SENDERS = ["钓鱼播报", "星海小博士", "百家乐", "跑马", "神秘箱子"];
export const BLOCKED_SYSTEM_SENDERS_STORAGE_KEY = "chat_blocked_system_senders";
export const CHAT_SOUND_MUTED_STORAGE_KEY = "chat_sound_muted";
// 白名单、localStorage key 与绑定标记共同保证偏好读取可控、事件只注册一次。
let soundMuteEventsBound = false;
let blockMenuEventsBound = false;