Merge pull request #2268 from thelounge/xpaw/self-condensed
Do not condense actions that are performed or related to the user
This commit is contained in:
commit
c8b5165618
@ -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