We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 589d2e9 commit df21bc6Copy full SHA for df21bc6
app/services/discourse_rewind/rewind/action/fbff.rb
@@ -75,7 +75,7 @@ def post_query(user, date)
75
.includes(:topic)
76
.where(
77
"posts.post_type IN (?)",
78
- Topic.visible_post_types(user.guardian, include_moderator_actions: false),
+ Topic.visible_post_types(user, include_moderator_actions: false),
79
)
80
.joins(
81
"INNER JOIN posts replies ON posts.topic_id = replies.topic_id AND posts.reply_to_post_number = replies.post_number",
0 commit comments