This commit is contained in:
NigeParis 2026-01-15 17:33:54 +01:00 committed by Maix0
parent bc1d53d6b0
commit 57cffab1e8

View file

@ -500,12 +500,8 @@ window.addEventListener("focus", async () => {
setTimeout(() => {
if (window.__state.chatSock) connected(window.__state.chatSock);
}, 16);
// if (window.location.pathname === "/app/chat") {
// if (window.__state.chatSock?.id) {
await windowStateVisable();
// }
toggle = true;
// }
await windowStateVisable();
toggle = true;
});
window.addEventListener("blur", () => {