Added some functionality to the accountPopup (#117)
* Added some buttons. * Added some more functionality. * Finished adding button functionality. * Implemented @fourtf's suggestions.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "twitchuser.hpp"
|
||||
#include "util/urlfetch.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
namespace twitch {
|
||||
@@ -22,6 +23,16 @@ const QString &TwitchUser::getOAuthToken() const
|
||||
return this->_oauthToken;
|
||||
}
|
||||
|
||||
const QString &TwitchUser::getUserId() const
|
||||
{
|
||||
return this->_userId;
|
||||
}
|
||||
|
||||
void TwitchUser::setUserId(const QString &id)
|
||||
{
|
||||
this->_userId = id;
|
||||
}
|
||||
|
||||
bool TwitchUser::isAnon() const
|
||||
{
|
||||
return this->_isAnon;
|
||||
|
||||
Reference in New Issue
Block a user