mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
FIX: Don't incldue whispers in context emails
This commit is contained in:
parent
33e58c0587
commit
7bd51e7882
1 changed files with 1 additions and 0 deletions
|
@ -175,6 +175,7 @@ class UserNotifications < ActionMailer::Base
|
|||
.where("post_number < ?", post.post_number)
|
||||
.where(user_deleted: false)
|
||||
.where(hidden: false)
|
||||
.where(post_type: Topic.visible_post_types)
|
||||
.order('created_at desc')
|
||||
.limit(SiteSetting.email_posts_context)
|
||||
|
||||
|
|
Loading…
Reference in a new issue