aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Application.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-07-26 09:55:27 -0500
committerJP Dillingham <jp@dillingham.me>2022-07-26 09:55:27 -0500
commite4935b167eb0e19e05765bbc44055c697cae712c (patch)
treede5e676b9eb6bc692b06b9dd8f1678f7dac363a0 /src/slskd/Application.cs
parentf2dbd88678393a100e33d2d8c18264d761484a3a (diff)
downloadslskd-e4935b167eb0e19e05765bbc44055c697cae712c.tar.gz
stub EnqueueAsync
Diffstat (limited to 'src/slskd/Application.cs')
-rw-r--r--src/slskd/Application.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index 249376fd..9239f4f6 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -599,7 +599,7 @@ namespace slskd
{
// remote clients might sometimes re-request downloads to check the status. don't try to add the download again
// if it is already tracked.
- if (tracker.Contains(TransferDirection.Upload, username, filename))
+ if (await Transfers.Uploads.ExistsAsync(t => t.Username == username && t.Filename == filename))
{
return;
}