Added a bunch of stuff, we now collect all the pubsub automod messages and also displays a caught message to a mod

This commit is contained in:
apa420
2019-01-20 01:02:04 +01:00
parent ae18f35dfb
commit 0b2480d715
12 changed files with 249 additions and 79 deletions
+4
View File
@@ -268,6 +268,10 @@ void MessageLayout::updateBuffer(QPixmap *buffer, int /*messageIndex*/,
{
backgroundColor = app->themes->messages.backgrounds.alternate;
}
else if (this->message_->flags.has(MessageFlag::AutoMod))
{
backgroundColor = app->themes->messages.backgrounds.automod;
}
painter.fillRect(buffer->rect(), backgroundColor);