mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-20 20:11:19 -04:00
Allow reply by email for admins in PMs
This commit is contained in:
parent
f0ebca51cc
commit
87024c8676
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue