mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
Allow reply by email for admins in PMs
This commit is contained in:
parent
f0ebca51cc
commit
87024c8676
@ -38,7 +38,8 @@ class UserNotifications < ActionMailer::Base
|
||||
topic_title: post.topic.title,
|
||||
private_message_from: post.user.name,
|
||||
from_alias: I18n.t(:via, username: post.user.name, site_name: SiteSetting.title),
|
||||
add_unsubscribe_link: true
|
||||
add_unsubscribe_link: true,
|
||||
allow_reply_by_email: user.admin?
|
||||
end
|
||||
|
||||
def digest(user, opts={})
|
||||
|
Loading…
Reference in New Issue
Block a user