Ensure live status requests are always batched (#4713)

This commit is contained in:
pajlada
2023-07-02 15:52:15 +02:00
committed by GitHub
parent f915eab1a2
commit 76527073cf
20 changed files with 582 additions and 282 deletions
+5
View File
@@ -76,6 +76,11 @@ public:
{
return nullptr;
}
ITwitchLiveController *getTwitchLiveController() override
{
return nullptr;
}
};
} // namespace chatterino::mock
+6
View File
@@ -86,6 +86,12 @@ public:
std::function<void()> finallyCallback),
(override));
MOCK_METHOD(void, fetchChannels,
(QStringList userIDs,
ResultCallback<std::vector<HelixChannel>> successCallback,
HelixFailureCallback failureCallback),
(override));
MOCK_METHOD(void, getChannel,
(QString broadcasterId,
ResultCallback<HelixChannel> successCallback,