Make sensitive topics only get censored
This commit is contained in:
@@ -653,7 +653,7 @@ impl Rule for SensitiveTopicsAndTriggeringContentRule {
|
||||
}
|
||||
|
||||
fn action(&self) -> &'static Action {
|
||||
&Action::BlockAndPenalty
|
||||
&Action::SoftCensorAndWarn
|
||||
}
|
||||
|
||||
fn detect(&self, _original: &str, normalized: &str) -> (Vec<String>, Vec<String>) {
|
||||
|
||||
Reference in New Issue
Block a user