Add setting to disable custom ffz mod/VIP badges (#2759)

Co-authored-by: Paweł <zneix@zneix.eu>
This commit is contained in:
Tal Neoran
2021-05-16 23:07:12 +03:00
committed by GitHub
parent 80506a8625
commit 2db50f1c41
4 changed files with 14 additions and 2 deletions
@@ -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())
{