Do not condense actions that are performed or related to the user
This commit is contained in:
parent
dbe81f1e59
commit
0be544676b
@ -59,7 +59,7 @@ function appendMessage(container, chanId, chanType, msg) {
|
|||||||
|
|
||||||
// If current window is not a channel or this message is not condensable,
|
// 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
|
// 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);
|
container.append(renderedMessage);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user