mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Make suspect report use <= 1 instead of = 0
This commit is contained in:
parent
b547be44b2
commit
9bdac79ba6
@ -43,7 +43,7 @@ class AdminUserIndexQuery
|
||||
where_conds = []
|
||||
|
||||
# One signal: no reading yet the user has bio text
|
||||
where_conds << "user_stats.posts_read_count = 0 AND user_stats.topics_entered = 0"
|
||||
where_conds << "user_stats.posts_read_count <= 1 AND user_stats.topics_entered <= 1"
|
||||
|
||||
@query.activated
|
||||
.references(:user_stats)
|
||||
|
Loading…
Reference in New Issue
Block a user