mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 02:18:09 +08:00
remove useless content when sending email to a staged used
This commit is contained in:
@ -39,7 +39,7 @@ module Email
|
||||
string = allow_reply_by_email? ? "user_notifications.reply_by_email" : "user_notifications.visit_link_to_respond"
|
||||
string << "_pm" if @opts[:private_reply]
|
||||
end
|
||||
@template_args[:respond_instructions] = I18n.t(string, @template_args)
|
||||
@template_args[:respond_instructions] = "---\n" + I18n.t(string, @template_args)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user