skip notify of spam
This commit is contained in:
parent
b921f6bdc5
commit
80fdb029b5
1 changed files with 1 additions and 0 deletions
|
|
@ -959,6 +959,7 @@ sub postProcess {
|
||||||
if (ref $spamStopWords eq 'ARRAY') {
|
if (ref $spamStopWords eq 'ARRAY') {
|
||||||
my $spamRegex = join('|',@{$spamStopWords});
|
my $spamRegex = join('|',@{$spamStopWords});
|
||||||
if ($data{content} =~ m/$spamRegex/xmsi) {
|
if ($data{content} =~ m/$spamRegex/xmsi) {
|
||||||
|
$data{skipNotification} = 1;
|
||||||
$self->trash;
|
$self->trash;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue