fixed, session selector at start and fixed load chat

This commit is contained in:
2026-03-29 03:26:11 +02:00
parent 8e52b05032
commit 54b4331e1e
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -570,8 +570,8 @@
}
// Chat-History (nach F5 / Reconnect)
if (msg.type === 'chat_history') {
chatBox.innerHTML = '';
if (msg.messages && msg.messages.length > 0) {
chatBox.innerHTML = '';
for (const m of msg.messages) {
const el = document.createElement('div');
el.className = `chat-msg ${m.type}`;