mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
FIX: Don't incldue whispers in context emails
This commit is contained in:
parent
33e58c0587
commit
7bd51e7882
@ -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 New Issue
Block a user