Add setting to disable custom ffz mod/VIP badges (#2759)
Co-authored-by: Paweł <zneix@zneix.eu>
This commit is contained in:
@@ -1116,7 +1116,8 @@ void TwitchMessageBuilder::appendTwitchBadges()
|
||||
const auto &cheerAmount = badge.value_;
|
||||
tooltip = QString("Twitch cheer %0").arg(cheerAmount);
|
||||
}
|
||||
else if (badge.key_ == "moderator")
|
||||
else if (badge.key_ == "moderator" &&
|
||||
getSettings()->useCustomFfzModeratorBadges)
|
||||
{
|
||||
if (auto customModBadge = this->twitchChannel->ffzCustomModBadge())
|
||||
{
|
||||
@@ -1128,7 +1129,7 @@ void TwitchMessageBuilder::appendTwitchBadges()
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else if (badge.key_ == "vip")
|
||||
else if (badge.key_ == "vip" && getSettings()->useCustomFfzVipBadges)
|
||||
{
|
||||
if (auto customVipBadge = this->twitchChannel->ffzCustomVipBadge())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user