This commit is contained in:
2026-03-28 12:48:48 -04:00
parent de0d253b31
commit ac66884e96

View File

@@ -161,6 +161,7 @@ export function initWebSocket(
addNotice(
`<span class="err">Message failed: ${new Option(status).innerHTML}</span>`,
);
renderChat(chatEl, inputContainer);
} else if (id) {
const replyTarget = getReplyTo();
if (replyTarget === null) {
@@ -169,7 +170,6 @@ export function initWebSocket(
setReplyTo(sid);
}
}
renderChat(chatEl, inputContainer);
break;
}
case "name_ack": {
@@ -178,8 +178,8 @@ export function initWebSocket(
addNotice(
`<span class="err">Name change failed: ${new Option(status).innerHTML}</span>`,
);
renderChat(chatEl, inputContainer);
}
renderChat(chatEl, inputContainer);
break;
}
case "ping": {