aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Application.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index 27f9e882..a3bea5b2 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -1374,6 +1374,10 @@ namespace slskd
return null;
}
+ // append the list of excluded search phrases supplied by the server
+ // see https://github.com/jpdillingham/Soulseek.NET/issues/803
+ query = new SearchQuery(terms: query.Terms, exclusions: query.Exclusions.Concat(ExcludedSearchPhrases).Distinct());
+
try
{
var sw = new Stopwatch();