chore: improve appearance of Twitch emotes in popup (#5632)

This commit is contained in:
nerix
2024-10-13 12:08:32 +02:00
committed by GitHub
parent 64864a0901
commit 3e2116629a
3 changed files with 23 additions and 19 deletions
+6 -9
View File
@@ -494,17 +494,14 @@ TwitchEmoteSetMeta getTwitchEmoteSetMeta(const HelixChannelEmote &emote)
return u"x-c2-globals"_s;
}
if (!emote.setID.isEmpty())
// some bit emote-sets have an id, but we want to combine them into a
// single set
if (isBits)
{
return emote.setID;
return TWITCH_BIT_EMOTE_SET_PREFIX % emote.ownerID;
}
if (isSub)
{
return TWITCH_SUB_EMOTE_SET_PREFIX % emote.ownerID;
}
// isBits
return TWITCH_BIT_EMOTE_SET_PREFIX % emote.ownerID;
// isSub
return TWITCH_SUB_EMOTE_SET_PREFIX % emote.ownerID;
}();
return {