Skip to content

Commit e4988fc

Browse files
committed
Fix plumbAll calling plumbOne incorrectly
1 parent e8883e9 commit e4988fc

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
@@ -34,7 +34,7 @@ export class IrcPlumbCommand implements ICommand {
3434
for (const auditorium of this.conference.storedAuditoriums) {
3535
const channelName = await this.ircBridge.deriveChannelName(auditorium);
3636
try {
37-
await this.plumbOne(this.client, channelName, auditorium.roomId);
37+
await this.plumbOne(this.client, auditorium.roomId, channelName);
3838
// Wait before plumbing the next one so as to not overwhelm the poor bridge.
3939
await new Promise(r => setTimeout(r, PLUMB_WAIT_MS));
4040
} catch (ex) {
@@ -45,7 +45,7 @@ export class IrcPlumbCommand implements ICommand {
4545
for (const interest of this.conference.storedInterestRooms) {
4646
const channelName = await this.ircBridge.deriveChannelNameSI(interest);
4747
try {
48-
await this.plumbOne(this.client, channelName, interest.roomId);
48+
await this.plumbOne(this.client, interest.roomId, channelName);
4949
// Wait before plumbing the next one so as to not overwhelm the poor bridge.
5050
await new Promise(r => setTimeout(r, PLUMB_WAIT_MS));
5151
} catch (ex) {

0 commit comments

Comments
 (0)