Narrow down syncBufferUnread call to self-JOIN

This commit is contained in:
Simon Ser 2021-08-25 08:46:37 +02:00
parent 4278265c65
commit 77683937d7

View file

@ -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) {