This commit is contained in:
Lawin
2024-03-19 17:57:50 +00:00
committed by GitHub
parent 5cbecbf21d
commit 453028678a

View File

@@ -16,6 +16,8 @@ wss.on("error", (err) => {
global.Clients = []; global.Clients = [];
wss.on('connection', async (ws) => { wss.on('connection', async (ws) => {
ws.on('error', () => {});
if (ws.protocol.toLowerCase() != "xmpp") return matchmaker(ws); if (ws.protocol.toLowerCase() != "xmpp") return matchmaker(ws);
var accountId = ""; var accountId = "";