mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
disable email spam notifications for now
This commit is contained in:
parent
fbe00f6f9c
commit
a8edcc8ab6
1 changed files with 2 additions and 0 deletions
|
@ -545,6 +545,7 @@ class Site < Sequel::Model
|
|||
matches = f.grep SPAM_MATCH_REGEX
|
||||
|
||||
if !matches.empty?
|
||||
=begin
|
||||
EmailWorker.perform_async({
|
||||
from: 'web@neocities.org',
|
||||
reply_to: email,
|
||||
|
@ -555,6 +556,7 @@ class Site < Sequel::Model
|
|||
https://#{self.host}/#{relative_path}
|
||||
}
|
||||
})
|
||||
=end
|
||||
end
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue