asdf
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user