Compare commits
2 Commits
master
...
arnost/dis
Author | SHA1 | Date | |
---|---|---|---|
|
d8173c0824 | ||
|
1ed0fe035a |
@ -80,7 +80,7 @@ try {
|
|||||||
|
|
||||||
socket.on("disconnecting", async () => {
|
socket.on("disconnecting", async () => {
|
||||||
socketDebug(`${socket.id} has disconnected`);
|
socketDebug(`${socket.id} has disconnected`);
|
||||||
for (const roomID in socket.rooms) {
|
for (const roomID of socket.rooms) {
|
||||||
const otherClients = (await io.in(roomID).fetchSockets()).filter(
|
const otherClients = (await io.in(roomID).fetchSockets()).filter(
|
||||||
(_socket) => _socket.id !== socket.id,
|
(_socket) => _socket.id !== socket.id,
|
||||||
);
|
);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es5",
|
"target": "es2020",
|
||||||
"lib": ["dom", "dom.iterable", "esnext"],
|
"lib": ["dom", "dom.iterable", "esnext"],
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user