add: dedicated responses tab for profiles
This commit is contained in:
parent
9ba6320d46
commit
07a23f505b
24 changed files with 332 additions and 55 deletions
|
@ -1363,7 +1363,8 @@ ${option.input_element_type === "textarea" ? `${option.value}</textarea>` : ""}
|
|||
JSON.stringify(accepted_warnings),
|
||||
);
|
||||
|
||||
setTimeout(() => {
|
||||
setTimeout(async () => {
|
||||
await trigger("me::achievement", ["AcceptProfileWarning"]);
|
||||
window.history.back();
|
||||
}, 100);
|
||||
});
|
||||
|
|
|
@ -43,6 +43,12 @@
|
|||
};
|
||||
|
||||
socket.addEventListener("message", async (event) => {
|
||||
const sock = await $.sock(stream);
|
||||
|
||||
if (!sock) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.data === "Ping") {
|
||||
return socket.send("Pong");
|
||||
}
|
||||
|
@ -54,7 +60,7 @@
|
|||
return console.info(`${stream} ${data.data}`);
|
||||
}
|
||||
|
||||
return (await $.sock(stream)).events.message(data);
|
||||
return sock.events.message(data);
|
||||
});
|
||||
|
||||
return $.STREAMS[stream];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue