mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-12 23:43:42 +01:00
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
@ -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…
x
Reference in New Issue
Block a user