mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
Narrow down syncBufferUnread call to self-JOIN
This commit is contained in:
parent
4278265c65
commit
77683937d7
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue