迁移聊天室菜单显示逻辑

This commit is contained in:
2026-04-25 19:33:06 +08:00
parent aecabde44c
commit 7fc40eba32
3 changed files with 164 additions and 43 deletions
+15
View File
@@ -214,14 +214,19 @@ export {
CHAT_SOUND_MUTED_STORAGE_KEY,
bindBlockMenuControls,
bindSoundMuteControl,
closeDailyStatusEditor,
closeFeatureMenu,
isSoundMuted,
loadBlockedSystemSenders,
normalizeChatPreferences,
normalizeDailyStatus,
openDailyStatusEditor,
parseDailyStatusExpiry,
persistBlockedSystemSenders,
setSoundMuted,
shouldMigrateLocalChatPreferences,
toggleBlockMenu,
toggleFeatureMenu,
} from "./chat-room/preferences-status.js";
export { bindChatRightPanelControls } from "./chat-room/right-panel.js";
export {
@@ -400,14 +405,19 @@ import {
CHAT_SOUND_MUTED_STORAGE_KEY,
bindBlockMenuControls,
bindSoundMuteControl,
closeDailyStatusEditor,
closeFeatureMenu,
isSoundMuted,
loadBlockedSystemSenders,
normalizeChatPreferences,
normalizeDailyStatus,
openDailyStatusEditor,
parseDailyStatusExpiry,
persistBlockedSystemSenders,
setSoundMuted,
shouldMigrateLocalChatPreferences,
toggleBlockMenu,
toggleFeatureMenu,
} from "./chat-room/preferences-status.js";
import { bindChatRightPanelControls } from "./chat-room/right-panel.js";
import {
@@ -622,14 +632,19 @@ if (typeof window !== "undefined") {
CHAT_SOUND_MUTED_STORAGE_KEY,
bindBlockMenuControls,
bindSoundMuteControl,
closeDailyStatusEditor,
closeFeatureMenu,
isSoundMuted,
loadBlockedSystemSenders,
normalizeChatPreferences,
normalizeDailyStatus,
openDailyStatusEditor,
parseDailyStatusExpiry,
persistBlockedSystemSenders,
setSoundMuted,
shouldMigrateLocalChatPreferences,
toggleBlockMenu,
toggleFeatureMenu,
bindChatRightPanelControls,
bindRoomStatusControls,
normalizeRoomStatus,