fix: visually hide deleted messages immediately (#5844)
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
- Bugfix: Fixed tabs not scaling to the default scale when changing the scale from a non-default value. (#5794)
|
||||
- Bugfix: Closing a usercard will no longer cause stop-logging messages to be generated in channel logs. (#5828)
|
||||
- Bugfix: Fixed tabs not scaling to the default scale when changing the scale from a non-default value. (#5794, #5833)
|
||||
- Bugfix: Fixed deleted messages not disappearing when "Hide deleted messages" is enabled. (#5844)
|
||||
- Dev: Highlight checks now use non-capturing groups for the boundaries. (#5784)
|
||||
- Dev: Updated Conan dependencies. (#5776)
|
||||
- Dev: Replaced usage of `parseTime` with `serverReceivedTime` for clearchat messages. (#5824)
|
||||
|
||||
@@ -523,6 +523,13 @@ void IrcMessageHandler::handleClearMessageMessage(Communi::IrcMessage *message)
|
||||
chan->addMessage(MessageBuilder::makeDeletionMessageFromIRC(msg),
|
||||
MessageContext::Original);
|
||||
}
|
||||
|
||||
if (getSettings()->hideModerated && !tags.contains("historical"))
|
||||
{
|
||||
// XXX: This is expensive. We could use a layout request if the layout
|
||||
// would store the previous message flags.
|
||||
getApp()->getWindows()->forceLayoutChannelViews();
|
||||
}
|
||||
}
|
||||
|
||||
void IrcMessageHandler::handleUserStateMessage(Communi::IrcMessage *message)
|
||||
|
||||
Reference in New Issue
Block a user