aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-06-27 07:53:15 -0500
committerGitHub <noreply@github.com>2021-06-27 07:53:15 -0500
commitf2986099ff19dfca76785e3581160c9b5e88d34e (patch)
tree7a441ecd524e4fc97c7f5e4803b3cd011e712fe6 /src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs
parent0c056972f1d3323a1e5536bae5ddb92ed6ac77e2 (diff)
parentc9b682b4be58c53b3db4357b24b1b902ac0ae45f (diff)
downloadslskd-f2986099ff19dfca76785e3581160c9b5e88d34e.tar.gz
Merge pull request #105 from slskd/bump
Bump Soulseek.NET to 3.0.0-pre-62621233
Diffstat (limited to 'src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs')
-rw-r--r--src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs b/src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs
index 53b66c32..8f1e9544 100644
--- a/src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs
+++ b/src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs
@@ -37,11 +37,6 @@ namespace slskd.Messaging.API
public int DirectoryCount { get; set; }
/// <summary>
- /// The number of active user downloads.
- /// </summary>
- public long DownloadCount { get; set; }
-
- /// <summary>
/// The number of files shared by the user.
/// </summary>
public int FileCount { get; set; }
@@ -62,6 +57,11 @@ namespace slskd.Messaging.API
public UserPresence Status { get; set; }
/// <summary>
+ /// The number of uploads tracked by the server for the user.
+ /// </summary>
+ public long UploadCount { get; set; }
+
+ /// <summary>
/// The username of the user.
/// </summary>
public string Username { get; set; }
@@ -73,7 +73,7 @@ namespace slskd.Messaging.API
AverageSpeed = userData.AverageSpeed,
CountryCode = userData.CountryCode,
DirectoryCount = userData.DirectoryCount,
- DownloadCount = userData.DownloadCount,
+ UploadCount = userData.UploadCount,
FileCount = userData.FileCount,
SlotsFree = userData.SlotsFree,
Status = userData.Status,