mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
SPEC: make sure digest doesn't pick any topics in categories that are muted
This commit is contained in:
@@ -250,9 +250,7 @@ class UserNotifications < ActionMailer::Base
|
||||
)
|
||||
|
||||
template = "user_notifications.user_#{notification_type}"
|
||||
if post.topic.private_message?
|
||||
template << "_pm"
|
||||
end
|
||||
template << "_pm" if post.topic.private_message?
|
||||
|
||||
email_opts = {
|
||||
topic_title: title,
|
||||
|
||||
Reference in New Issue
Block a user