FIX: personal messages not being copied by discourse_merger.rb

This commit is contained in:
Neil Lalonde 2018-07-12 17:41:16 -04:00
parent 81f9500f5c
commit cba292cb56

View File

@ -435,7 +435,7 @@ class BulkImport::DiscourseMerger < BulkImport::Base
end
def process_topic(topic)
return nil if topic['category_id'].nil?
return nil if topic['category_id'].nil? && topic['archetype'] != Archetype.private_message
topic
end