jpdillingham / Soulseek.NET

A .NET Standard client library for the Soulseek network.
GNU General Public License v3.0
175 stars 24 forks source link

Add support for server message code 160 'ExcludedSearchPhrases' #803

Closed jpdillingham closed 8 months ago

jpdillingham commented 8 months ago

This will require the new message class along with an event that is raised when the list is received.

Internally this library should retain the list of phrases and should filter any outgoing search responses to exclude files that contain any of the banned phrases. This behavior should not be able to be defeated.

See: https://github.com/JurgenR/aioslsk/issues/180 And: https://github.com/nicotine-plus/nicotine-plus/issues/2854