FIX: Always include the first poster when converting to PM (#16187)

Regressed in #15626
This commit is contained in:
Jarek Radosz
2022-03-15 10:51:10 +01:00
committed by GitHub
parent de9a031073
commit 383f164672
2 changed files with 6 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ class TopicConverter
private
def posters
@posters ||= @topic.posts.where("post_number > 1").distinct.pluck(:user_id)
@posters ||= @topic.posts.distinct.pluck(:user_id)
end
def increment_users_post_count