From 4cf7752282adb80a9e6d20187d50745e77e67bf0 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 24 Feb 2024 22:23:49 -0600 Subject: append excluded phrases to searches --- src/slskd/Application.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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(); -- cgit v1.2.3