From db853080f403a5b1420b36c56cfe71110e402509 Mon Sep 17 00:00:00 2001 From: Borys Date: Wed, 13 Mar 2024 13:25:20 +0200 Subject: [PATCH] fix --- bots/translateBot/config/connect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/translateBot/config/connect.js b/bots/translateBot/config/connect.js index a677d6a1..93c7d496 100644 --- a/bots/translateBot/config/connect.js +++ b/bots/translateBot/config/connect.js @@ -100,7 +100,7 @@ export const connectToRooms = async (xmpp, jid, connectData) => { console.log('rooms list ', rooms) for (const room of rooms) { - connectRoom(xmpp, jid, process.env.DEFAULT_ROOM, connectData, statusSendWelcomeMessage); + connectRoom(xmpp, jid, room, connectData, statusSendWelcomeMessage); } } else { connectRoom(xmpp, jid, process.env.DEFAULT_ROOM, connectData, statusSendWelcomeMessage);