refactor: rename Badge to TwitchBadge (#6706)
this change is made to clarify that the previously-called Badge object is actually specialized for Twitch badges
This commit is contained in:
@@ -33,7 +33,7 @@ BadgePredicate::BadgePredicate(const QString &badges, bool negate)
|
||||
|
||||
bool BadgePredicate::appliesToImpl(const Message &message)
|
||||
{
|
||||
for (const Badge &badge : message.badges)
|
||||
for (const TwitchBadge &badge : message.twitchBadges)
|
||||
{
|
||||
if (this->badges_.contains(badge.key_, Qt::CaseInsensitive))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user