fixed, session selector at start and fixed load chat
This commit is contained in:
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user