A platform for community discussion. Free, open, simple.
FIX: welcome topic should not be a private message
Arpit Jalanc74dd2fa0848
diff --git a/lib/introduction_updater.rb b/lib/introduction_updater.rbindex a576b0433c5..4868e7f22b9 100644--- a/lib/introduction_updater.rb+++ b/lib/introduction_updater.rb@@ -30,7 +30,7 @@ protectedenddef find_welcome_post- welcome_topic = Topic.where(slug: 'welcome-to-discourse').first+ welcome_topic = Topic.listable_topics.where(slug: 'welcome-to-discourse').firstreturn nil unless welcome_topic.present?post = welcome_topic.posts.where(post_number: 1).first