diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-10-05 09:12:40 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-10-05 09:12:40 -0500 |
| commit | 11767ab706c308f4a0d24738693a0f6a68271cb1 (patch) | |
| tree | ff9bf761d11748358fd12e652c43be5c2975bc8b | |
| parent | 85d99db5f390af5df211101fa83ce256bb16ba95 (diff) | |
| download | slskd-11767ab706c308f4a0d24738693a0f6a68271cb1.tar.gz | |
use slots instead of inferring from position
| -rw-r--r-- | src/slskd/Application.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index f8e92bc2..c34cd316 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -1757,7 +1757,7 @@ namespace slskd Client.Username, token, uploadSpeed: State.CurrentValue.User.Statistics.AverageSpeed, - hasFreeUploadSlot: forecastedPosition == 0, + hasFreeUploadSlot: freeSlots > 0, queueLength: forecastedPosition, fileList: results); } @@ -1972,7 +1972,7 @@ namespace slskd description: Options.Soulseek.Description, uploadSlots: totalSlots, queueLength: forecastedPosition, - hasFreeUploadSlot: forecastedPosition == 0, + hasFreeUploadSlot: freeSlots > 0, picture: pictureBytes); return info; |
