mirror of
https://github.com/pachli/pachli-android.git
synced 2025-02-08 07:58:55 +01:00
Previous code didn't encode v2 filter keywords, so created v2 filters by first creating the filter with no keywords (one API call) then making 1-N API calls to add each keyword to the filter. Fix this by adding a dedicated converter for the `NewContentFilter` type that encodes it correctly so the filter can be created with a single API call. This necessitates moving some types around,