mirror of
https://github.com/Chatterino/chatterino2.git
synced 2026-08-24 02:24:18 -05:00
fix: twitch sub emote pagination (#6860)
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
- Bugfix: Make it possible to filter Watch Streak messages again. Previously, these messages were labeled `sub_messages`. This was fixed in #6571, but we didn't add a new filter to compensate. (#6741)
|
||||
- Bugfix: Improve nightly downgrade message. (#6842)
|
||||
- Bugfix: Improved blocked user loading on poor internet connections. (#6846)
|
||||
- Bugfix: Fixed an issue that could prevent your Twitch subscription emotes from loading. (#6860)
|
||||
|
||||
## 2.5.5-beta.1
|
||||
|
||||
|
||||
@@ -3224,11 +3224,6 @@ void Helix::getUserEmotes(
|
||||
[pageCallback](const QJsonObject &json, const auto &state) mutable {
|
||||
const auto data = json["data"_L1].toArray();
|
||||
|
||||
if (data.isEmpty())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
std::vector<HelixChannelEmote> emotes;
|
||||
emotes.reserve(data.count());
|
||||
|
||||
@@ -3914,6 +3909,8 @@ void Helix::paginate(
|
||||
if (!onPage(json, state))
|
||||
{
|
||||
// The consumer doesn't want any more pages
|
||||
qCDebug(chatterinoTwitch)
|
||||
<< "paginate onPage returned false for" << url;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user