mirror of
https://codeberg.org/emersion/gamja.git
synced 2025-04-02 00:39:44 -04:00
Don't open a new buffer on NOTICE
This commit is contained in:
parent
dd8eca1cfe
commit
02800dd21b
1 changed files with 4 additions and 0 deletions
|
@ -530,6 +530,10 @@ export default class App extends Component {
|
|||
target = msg.prefix.name;
|
||||
}
|
||||
}
|
||||
if (msg.command === "NOTICE" && !State.getBuffer(this.state, { server: serverID, name: target })) {
|
||||
// Don't open a new buffer if this is just a NOTICE
|
||||
target = SERVER_BUFFER;
|
||||
}
|
||||
|
||||
var allowedPrefixes = client.isupport.get("STATUSMSG");
|
||||
if (allowedPrefixes) {
|
||||
|
|
Loading…
Add table
Reference in a new issue