diff --git a/client/js/lounge.js b/client/js/lounge.js index 49bb54ae..c303e53f 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -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; }