mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-15 08:48:15 +00:00
[Hack] Avoid sending already-sent ToS mails
This commit is contained in:
parent
af157939d9
commit
c005842b5f
|
@ -210,6 +210,8 @@ class UserMailer < Devise::Mailer
|
|||
end
|
||||
|
||||
def terms_of_service_changed(user, terms_of_service)
|
||||
return if user.id <= 1_436_202
|
||||
|
||||
@resource = user
|
||||
@terms_of_service = terms_of_service
|
||||
@markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML, escape_html: true, no_images: true)
|
||||
|
|
Loading…
Reference in New Issue
Block a user