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