Increase max number of blocked users loaded from 100 to 1,000 (#4721)
Also includes a little refactor of how the requests are made & how the blocked users are stored
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "providers/twitch/api/Helix.hpp"
|
||||
#include "util/CancellationToken.hpp"
|
||||
|
||||
#include <gmock/gmock.h>
|
||||
#include <QString>
|
||||
@@ -107,7 +108,8 @@ public:
|
||||
MOCK_METHOD(void, loadBlocks,
|
||||
(QString userId,
|
||||
ResultCallback<std::vector<HelixBlock>> successCallback,
|
||||
HelixFailureCallback failureCallback),
|
||||
FailureCallback<QString> failureCallback,
|
||||
CancellationToken &&token),
|
||||
(override));
|
||||
|
||||
MOCK_METHOD(void, blockUser,
|
||||
|
||||
Reference in New Issue
Block a user