feat: Auto-open chat maximized for all bots

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-03-19 13:41:26 -03:00
parent d7336860f7
commit 215fb8b543

View file

@ -595,11 +595,7 @@
const pathParts = window.location.pathname.split('/');
const botName = pathParts[1] || 'default';
// Bots where chat should be maximized by default
const botsWithMaximizedChat = ['cristo', 'salesianos'];
// Auto-open Chat window maximized (only for configured bots)
if (window.wm && botsWithMaximizedChat.includes(botName)) {
// Auto-open Chat window maximized for all bots
try {
const response = await fetch("/suite/partials/chat.html");
if (response.ok) {