Hide replies to our own internal WHO commands

References: https://todo.sr.ht/~emersion/gamja/88
This commit is contained in:
Simon Ser 2024-04-17 23:37:47 +02:00
parent 1ea7c30744
commit 269e034581
2 changed files with 12 additions and 1 deletions

View file

@ -849,6 +849,12 @@ export default class App extends Component {
let client = this.clients.get(serverID);
let chatHistoryBatch = irc.findBatchByType(msg, "chathistory");
// Reply triggered by some command sent by us, not worth displaying to
// the user
if (msg.internal) {
return [];
}
let target, channel, affectedBuffers;
switch (msg.command) {
case "MODE":