Removed total views from the usercard (#3792)

This commit is contained in:
matt
2022-06-05 15:51:18 -05:00
committed by GitHub
parent 7ccf60111d
commit d29243a2a5
5 changed files with 2 additions and 10 deletions
-2
View File
@@ -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())
{
}
};
+1 -1
View File
@@ -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