fix: phrase filter

This commit is contained in:
trisua 2025-06-10 17:34:35 -04:00
parent 84daf8bd04
commit 53fb4d5778

View file

@ -481,6 +481,10 @@ impl DataManager {
for mut post in posts.clone() {
for phrase in muted {
if phrase.is_empty() {
continue;
}
if post.content.contains(phrase) {
post.context.content_warning = "Contains muted phrase".to_string();
break;