Make Chatterino colorize usernames on IRC (#3206)

This commit is contained in:
Mm2PL
2021-08-29 13:35:19 +02:00
committed by GitHub
parent d0338b853d
commit 25cdeb8d9f
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -11,6 +11,7 @@
#include "singletons/Settings.hpp"
#include "singletons/Theme.hpp"
#include "singletons/WindowManager.hpp"
#include "util/Helpers.hpp"
#include "util/IrcHelpers.hpp"
#include "widgets/Window.hpp"
@@ -36,6 +37,7 @@ MessagePtr IrcMessageBuilder::build()
{
// PARSE
this->parse();
this->usernameColor_ = getRandomColor(this->ircMessage->nick());
// PUSH ELEMENTS
this->appendChannelName();