fix: correctly override user color in sub gifts (#6322)
This commit is contained in:
@@ -112,7 +112,7 @@ size_t ChannelChatters::colorsSize() const
|
||||
return size;
|
||||
}
|
||||
|
||||
const QColor ChannelChatters::getUserColor(const QString &user)
|
||||
QColor ChannelChatters::getUserColor(const QString &user) const
|
||||
{
|
||||
const auto chatterColors = this->chatterColors_.access();
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ public:
|
||||
void addRecentChatter(const QString &user);
|
||||
void addJoinedUser(const QString &user, bool isMod, bool isBroadcaster);
|
||||
void addPartedUser(const QString &user, bool isMod, bool isBroadcaster);
|
||||
const QColor getUserColor(const QString &user);
|
||||
QColor getUserColor(const QString &user) const;
|
||||
void setUserColor(const QString &user, const QColor &color);
|
||||
void updateOnlineChatters(const std::unordered_set<QString> &usernames);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user