aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Application/Messaging/API/DTO/UserDataResponse.cs
diff options
context:
space:
mode:
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,