Make Chatterino colorize usernames on IRC (#3206)
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
- Minor: Added the ability to open an entire tab as a popup. (#3082)
|
||||
- Minor: Added optional parameter to /usercard command for opening a usercard in a different channel context. (#3172)
|
||||
- Minor: Added regex option to Nicknames. (#3146)
|
||||
- Minor: Colorizing usernames on IRC, originally made for Mm2PL/dankerino (#3206)
|
||||
- Bugfix: Fixed colored usernames sometimes not working. (#3170)
|
||||
- Bugfix: Restored ability to send duplicate `/me` messages. (#3166)
|
||||
- Bugfix: Notifications for moderators about other moderators deleting messages can now be disabled. (#3121)
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user