mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Implement Randers00's recent-messages API (WIP)
This commit is contained in:
parent
66294ed99b
commit
81a4bff131
1 changed files with 2 additions and 4 deletions
|
@ -577,11 +577,9 @@ Outcome TwitchChannel::parseLiveStatus(const rapidjson::Document &document)
|
|||
void TwitchChannel::loadRecentMessages()
|
||||
{
|
||||
static QString genericURL =
|
||||
"https://tmi.twitch.tv/api/rooms/%1/recent_messages?client_id=" +
|
||||
getDefaultClientID();
|
||||
"https://recent-messages.robotty.de/v1/recent-messages/%1";
|
||||
|
||||
NetworkRequest request(genericURL.arg(this->roomId()));
|
||||
request.makeAuthorizedV5(getDefaultClientID());
|
||||
NetworkRequest request(genericURL.arg(this->getName()));
|
||||
request.setCaller(QThread::currentThread());
|
||||
// can't be concurrent right now due to SignalVector
|
||||
// request.setExecuteConcurrently(true);
|
||||
|
|
Loading…
Reference in a new issue