/posts.atom: fix banned posts being visible to Members.

Bug: /posts.atom only hid loli/shota, not banned posts and not unsafe
posts when safe mode was on.
This commit is contained in:
evazion
2019-08-25 20:29:32 -05:00
parent 0101b5f5f4
commit 62875eabb2
3 changed files with 26 additions and 6 deletions

View File

@@ -405,10 +405,6 @@ module Danbooru
end
end
def select_posts_visible_to_user(user, posts)
posts.select {|x| can_user_see_post?(user, x)}
end
def max_appeals_per_day
1
end