Testing mute words: etf
bucketful fretful regretfully
@fishcharlie bug, these should not be picked up when muting etf. We actually already parse words as they are in the fulltext index. I could add a “note_has_word” function relatively easily.
If you wanna add that function and tag me once you commit it, I can implement it into the mute checker.
One thing we do have to think about is how this will work for phrases (ie. if you have a mute that contains multiple words). Should be possible, but an edge case we need to think about, and ensure we handle correctly.
should be easy to do. We store the word position in the index. So phrase searches would be just as fast.
If the mute word is ETF, would a note reading “easy tango foxtrot” be muted because it contains those letters in separate words? I see a lot of notes, usually long form, that are muted but do not contain any of my mute words. I’ve cited examples in the GitHub link here: https://github.com/damus-io/damus/issues/2222#issuecomment-2417673688
A feature that highlights or changes the font color of the word that was muted in-app when you “show” a “note you’ve muted” would be neat and useful in assessing the issue
yeah definitely, if you could provide a minimal test case we could fix it quickly
I added my mute list and two posts that contain no words/users/threads/hashtags in my list, would that qualify as a minimal test case?
THIS IS ACTUALLY A REALLY POWERFUL POST, IT SHOWS THAT EVEN THE DEVELOPERS OF NOSTR CANNOT CENSOR SPEECH
I want to mute the word mint. Sounds like it belongs in the same bag with ordinals and other nft scam jargon