Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
transkarpation committed Mar 13, 2024
1 parent 5c46dca commit db85308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bots/translateBot/config/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit db85308

Please sign in to comment.