Removed total views from the usercard (#3792)
This commit is contained in:
@@ -27,7 +27,6 @@ struct HelixUser {
|
||||
QString createdAt;
|
||||
QString description;
|
||||
QString profileImageUrl;
|
||||
int viewCount;
|
||||
|
||||
explicit HelixUser(QJsonObject jsonObject)
|
||||
: id(jsonObject.value("id").toString())
|
||||
@@ -36,7 +35,6 @@ struct HelixUser {
|
||||
, createdAt(jsonObject.value("created_at").toString())
|
||||
, description(jsonObject.value("description").toString())
|
||||
, profileImageUrl(jsonObject.value("profile_image_url").toString())
|
||||
, viewCount(jsonObject.value("view_count").toInt())
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
@@ -12,7 +12,7 @@ URL: https://dev.twitch.tv/docs/api/reference#get-users
|
||||
|
||||
Used in:
|
||||
|
||||
- `UserInfoPopup` to get ID, viewCount, displayName, createdAt of username we clicked
|
||||
- `UserInfoPopup` to get ID, displayName, createdAt of username we clicked
|
||||
- `CommandController` to power any commands that need to get a user ID
|
||||
- `Toasts` to get the profile picture of a streamer who just went live
|
||||
- `TwitchAccount` block and unblock features to translate user name to user ID
|
||||
|
||||
Reference in New Issue
Block a user