Fix #4515: Set List-Unsubscribe header on notification emails.

This commit is contained in:
evazion
2022-01-02 16:33:45 -06:00
parent 27ed41437c
commit e40218d1c8
5 changed files with 11 additions and 6 deletions

View File

@@ -7,6 +7,6 @@
<%= format_text(@dmail.body, base_url: root_url) %>
</div>
<p><%= link_to "View message", dmail_url(@dmail, :host => Danbooru.config.hostname, :only_path => false) %> | <%= link_to "Unsubscribe", maintenance_user_email_notification_url(:user_id => @dmail.owner.id, :sig => email_sig(@dmail.owner), :host => Danbooru.config.hostname, :only_path => false) %></p>
<p><%= link_to "View message", dmail_url(@dmail) %> | <%= link_to "Disable notifications", disable_email_notifications_url(@dmail.to) %></p>
</body>
</html>