Tackle the root issue with Discourse not playing ball with post min entropy 0 / post unclear issue

This commit is contained in:
David Sainty 2024-12-07 14:51:39 +11:00
parent 1bca1dee81
commit 6456556f14

View File

@ -1463,7 +1463,7 @@ class GossamerForumsImporter < ImportScripts::Base
# Sanitize and prepare the reply message for Discourse
sanitized_reply_message = sanitize_post_message(reply_row['post_message'])
puts "CREATE REPLY in current_topic_id #{current_topic_id} for reply post_id #{reply_row['post_id']}"
puts "CREATE REPLY in current_topic_id #{current_topic_id} for reply post_id #{reply_row['post_id']} -- sanitized_post_message: #{sanitized_post_message}"
### def get_topic_id
### return topic.id