fix(filters): honour whole_word
The whole_word field was stored and returned by the API, but the regex always used word boundaries. As in Mastodon, a filter with whole_word false now also matches inside words.
This commit is contained in:
parent
f975db8719
commit
422a1d1475
3 changed files with 19 additions and 4 deletions
1
changelog.d/filter-whole-word.fix
Normal file
1
changelog.d/filter-whole-word.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Filters with whole_word set to false now also match inside words
|
||||
Loading…
Add table
Add a link
Reference in a new issue