feat: Add 7TV Emotes and Badges (#4002)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -141,6 +141,11 @@ void CompletionModel::refresh(const QString &prefix, bool isFirstWord)
|
||||
}
|
||||
}
|
||||
|
||||
// 7TV Global
|
||||
for (auto &emote : *getApp()->twitch->getSeventvEmotes().globalEmotes())
|
||||
{
|
||||
addString(emote.first.string, TaggedString::Type::SeventvGlobalEmote);
|
||||
}
|
||||
// Bttv Global
|
||||
for (auto &emote : *getApp()->twitch->getBttvEmotes().emotes())
|
||||
{
|
||||
@@ -198,6 +203,11 @@ void CompletionModel::refresh(const QString &prefix, bool isFirstWord)
|
||||
}
|
||||
}
|
||||
|
||||
// 7TV Channel
|
||||
for (auto &emote : *tc->seventvEmotes())
|
||||
{
|
||||
addString(emote.first.string, TaggedString::Type::SeventvChannelEmote);
|
||||
}
|
||||
// Bttv Channel
|
||||
for (auto &emote : *tc->bttvEmotes())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user