Merge pull request #273 from thelounge/xpaw/fix-badge-counter
Only increase unread counter for whitelisted actions
This commit is contained in:
commit
a276e5714a
@ -807,14 +807,12 @@ $(function() {
|
||||
return;
|
||||
}
|
||||
|
||||
var ignore = [
|
||||
"join",
|
||||
"part",
|
||||
"quit",
|
||||
"nick",
|
||||
"mode",
|
||||
var whitelistedActions = [
|
||||
"message",
|
||||
"notice",
|
||||
"action",
|
||||
];
|
||||
if ($.inArray(msg.type, ignore) !== -1) {
|
||||
if (whitelistedActions.indexOf(msg.type) === -1) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user