mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 12:17:12 +00:00
FIX: Don't include flags on non-human users
This commit is contained in:
parent
b3ffa19f95
commit
81f2b38b78
@ -163,6 +163,8 @@ module FlagQuery
|
||||
.flags
|
||||
.active
|
||||
.includes(post: [:user, :topic])
|
||||
.references(:post)
|
||||
.where("posts.user_id > 0")
|
||||
.order('post_actions.created_at DESC')
|
||||
|
||||
ft_by_id = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user