Open new buffer on self-message
Closes: https://todo.sr.ht/~emersion/gamja/96
This commit is contained in:
parent
8a5e52ed9a
commit
4278265c65
1 changed files with 3 additions and 1 deletions
|
@ -456,7 +456,9 @@ export default class App extends Component {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!client.isMyNick(msg.prefix.name) && (msg.command != "PART" && msg.comand != "QUIT")) {
|
// Open a new buffer if the message doesn't come from me or is a
|
||||||
|
// self-message
|
||||||
|
if ((!client.isMyNick(msg.prefix.name) || client.isMyNick(bufName)) && (msg.command != "PART" && msg.comand != "QUIT")) {
|
||||||
this.createBuffer(serverID, bufName);
|
this.createBuffer(serverID, bufName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue