Remove unnecessary whoChannelBuffer() call
switchBuffer() will do that already, no need to do it manually here. We risk sending two duplicate WHO commands.
This commit is contained in:
parent
90a2c91651
commit
24ba3f5189
1 changed files with 1 additions and 3 deletions
|
@ -1373,9 +1373,7 @@ export default class App extends Component {
|
|||
this.switchBuffer({ server: serverID });
|
||||
} else if (client.isChannel(target)) {
|
||||
this.switchToChannel = target;
|
||||
client.join(target, password).then(() => {
|
||||
this.whoChannelBuffer(target, serverID);
|
||||
}).catch((err) => {
|
||||
client.join(target, password).catch((err) => {
|
||||
this.showError(err);
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue