added a feature to enable/disable report agentic message repspnse

This commit is contained in:
k
2026-09-22 08:21:03 +02:00
parent eff63e0024
commit b5d17d8944
8 changed files with 71 additions and 13 deletions
+5
View File
@@ -389,6 +389,11 @@ export function isOcrToolEnabled(): boolean {
return getSetting("tools_ocr_enabled", "1") === "1";
}
/** Admin kill-switch for message reports / flag button (default on). */
export function isReportsEnabled(): boolean {
return getSetting("reports_enabled", "1") === "1";
}
// --- public shares ---
export function ensureShare(convId: string): string {