if(nick == this.nickname) {
this.newChanLine(channel, "OURJOIN", user);
} else {
- this.newChanLine(channel, "JOIN", user);
+ if(!this.ui.uiOptions.HIDE_JOINPARTS) {
+ this.newChanLine(channel, "JOIN", user);
+ }
}
this.updateNickList(channel);
},
this.tracker.removeChannel(channel);
} else {
this.tracker.removeNickFromChannel(nick, channel);
- this.newChanLine(channel, "PART", user, {"m": message});
+ if(!this.ui.uiOptions.HIDE_JOINPARTS) {
+ this.newChanLine(channel, "PART", user, {"m": message});
+ }
}
this.updateNickList(channel);
var clist = [];
for(var c in channels) {
clist.push(c);
- this.newChanLine(c, "QUIT", user, {"m": message});
+ if(!this.ui.uiOptions.HIDE_JOINPARTS) {
+ this.newChanLine(c, "QUIT", user, {"m": message});
+ }
}
this.tracker.removeNick(nick);
[8, "LASTPOS_LINE", "Show a last position indicator for each window", true, {
enabled: qwebirc.ui.supportsFocus
}],
- [9, "NICK_COLOURS", "Automatically colour nicknames", false]
+ [9, "NICK_COLOURS", "Automatically colour nicknames", false],
+ [10, "HIDE_JOINPARTS", "Hide JOINS/PARTS/QUITS", false]
];
qwebirc.config.DefaultOptions = null;