From 0be544676bcdf3933ad4054f3865a1779ca11762 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Wed, 21 Mar 2018 14:48:07 +0200 Subject: [PATCH] Do not condense actions that are performed or related to the user --- client/js/render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/render.js b/client/js/render.js index 6b612929..9742fe61 100644 --- a/client/js/render.js +++ b/client/js/render.js @@ -59,7 +59,7 @@ function appendMessage(container, chanId, chanType, msg) { // If current window is not a channel or this message is not condensable, // then just append the message to container and be done with it - if (constants.condensedTypes.indexOf(msg.type) === -1 || chanType !== "channel") { + if (msg.self || msg.highlight || constants.condensedTypes.indexOf(msg.type) === -1 || chanType !== "channel") { container.append(renderedMessage); return; }