mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 07:37:25 +08:00
FIX: personal messages not being copied by discourse_merger.rb
This commit is contained in:
parent
81f9500f5c
commit
cba292cb56
@ -435,7 +435,7 @@ class BulkImport::DiscourseMerger < BulkImport::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def process_topic(topic)
|
def process_topic(topic)
|
||||||
return nil if topic['category_id'].nil?
|
return nil if topic['category_id'].nil? && topic['archetype'] != Archetype.private_message
|
||||||
topic
|
topic
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user