Skip to content

Commit 4c72183

Browse files
committed
Fix plumbAll calling plumbOne incorrectly
1 parent ad4a9aa commit 4c72183

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/IrcPlumbCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class IrcPlumbCommand implements ICommand {
3333
for (const auditorium of conference.storedAuditoriums) {
3434
const channelName = await this.ircBridge.deriveChannelName(auditorium);
3535
try {
36-
await this.plumbOne(client, channelName, auditorium.roomId);
36+
await this.plumbOne(client, auditorium.roomId, channelName);
3737
// Wait before plumbing the next one so as to not overwhelm the poor bridge.
3838
await new Promise(r => setTimeout(r, PLUMB_WAIT_MS));
3939
} catch (ex) {
@@ -44,7 +44,7 @@ export class IrcPlumbCommand implements ICommand {
4444
for (const interest of conference.storedInterestRooms) {
4545
const channelName = await this.ircBridge.deriveChannelNameSI(interest);
4646
try {
47-
await this.plumbOne(client, channelName, interest.roomId);
47+
await this.plumbOne(client, interest.roomId, channelName);
4848
// Wait before plumbing the next one so as to not overwhelm the poor bridge.
4949
await new Promise(r => setTimeout(r, PLUMB_WAIT_MS));
5050
} catch (ex) {

0 commit comments

Comments
 (0)