1043f9f803
* refactor: remove unnecessary includes in headers * fix: formatting * chore: changelog * fix: scrollbar * fix: suggestions and old appbase remains * fix: suggestion * fix: missing Qt forward declarations * fix: another qt include * fix: includes for precompiled-headers=off * Add missing `<memory>` includes * Add missing `#pragma once` * Fix tests Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
16 lines
346 B
C++
16 lines
346 B
C++
#include "providers/twitch/TwitchUser.hpp"
|
|
|
|
#include "providers/twitch/api/Helix.hpp"
|
|
#include "util/RapidjsonHelpers.hpp"
|
|
|
|
namespace chatterino {
|
|
|
|
void TwitchUser::fromHelixBlock(const HelixBlock &ignore)
|
|
{
|
|
this->id = ignore.userId;
|
|
this->name = ignore.userName;
|
|
this->displayName = ignore.displayName;
|
|
}
|
|
|
|
} // namespace chatterino
|