feat(#5): авто-пауза напоминаний во время ВКС (Zoom/Teams/Discord/Webex)

This commit is contained in:
AnRil
2026-05-22 13:48:42 +07:00
parent a6ae931461
commit 81481f2131
6 changed files with 131 additions and 0 deletions

View File

@@ -291,6 +291,11 @@ export function validateSettingsPatch(raw: unknown): Partial<Settings> | null {
if (v === undefined) return null
out.voicePromptsEnabled = v
}
if ('meetingAutoPause' in raw) {
const v = bool(raw.meetingAutoPause)
if (v === undefined) return null
out.meetingAutoPause = v
}
if ('notificationMode' in raw) {
const v = oneOf(raw.notificationMode, VALID_NOTIFY)
if (v === undefined) return null