From ac9106e2f51f5686c1f9ac7b3fc853f6cdd95f25 Mon Sep 17 00:00:00 2001 From: apa420 Date: Mon, 15 Apr 2019 22:55:10 +0200 Subject: [PATCH] Will now also remove the messages when the timeout occurs, it's a bad implementation of it though, should be better --- src/providers/twitch/IrcMessageHandler.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/providers/twitch/IrcMessageHandler.cpp b/src/providers/twitch/IrcMessageHandler.cpp index 27df7cb8c..f5d8686f4 100644 --- a/src/providers/twitch/IrcMessageHandler.cpp +++ b/src/providers/twitch/IrcMessageHandler.cpp @@ -203,6 +203,10 @@ void IrcMessageHandler::handleClearChatMessage(Communi::IrcMessage *message) // refresh all app->windows->repaintVisibleChatWidgets(chan.get()); + if (getSettings()->removeModerated) + { + app->windows->forceLayoutChannelViews(); + } } void IrcMessageHandler::handleUserStateMessage(Communi::IrcMessage *message)