mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-15 00:47:46 +01:00
Narrow down syncBufferUnread call to self-JOIN
This commit is contained in:
parent
4278265c65
commit
77683937d7
@ -629,9 +629,9 @@ export default class App extends Component {
|
||||
case "JOIN":
|
||||
channel = msg.params[0];
|
||||
|
||||
if (client.isMyNick(msg.prefix.name)) {
|
||||
this.syncBufferUnread(serverID, channel);
|
||||
|
||||
if (!client.isMyNick(msg.prefix.name)) {
|
||||
} else {
|
||||
this.addMessage(serverID, channel, msg);
|
||||
}
|
||||
if (channel == this.switchToChannel) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user