Narrow down syncBufferUnread call to self-JOIN
This commit is contained in:
1 parent
4278265c65
commit
77683937d7
1 file changed
+3
-3
+3
-3
@@ -629,9 +629,9 @@ export default class App extends Component {
|
||||
case "JOIN":
|
||||
channel = msg.params[0];
|
||||
|
||||
this.syncBufferUnread(serverID, channel);
|
||||
|
||||
if (!client.isMyNick(msg.prefix.name)) {
|
||||
if (client.isMyNick(msg.prefix.name)) {
|
||||
this.syncBufferUnread(serverID, channel);
|
||||
} else {
|
||||
this.addMessage(serverID, channel, msg);
|
||||
}
|
||||
if (channel == this.switchToChannel) {
|
||||
|
||||
Reference in new issue
Block a user