mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 10:05:34 +08: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("post_number < ?", post.post_number)
|
||||||
.where(user_deleted: false)
|
.where(user_deleted: false)
|
||||||
.where(hidden: false)
|
.where(hidden: false)
|
||||||
|
.where(post_type: Topic.visible_post_types)
|
||||||
.order('created_at desc')
|
.order('created_at desc')
|
||||||
.limit(SiteSetting.email_posts_context)
|
.limit(SiteSetting.email_posts_context)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user