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:
pajlada
2026-01-04 12:52:02 +01:00
committed by GitHub
parent 7fed720d18
commit 18e3d7c72b
190 changed files with 1058 additions and 1049 deletions
+1 -1
View File
@@ -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))
{