mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix vbulletin importer to hide soft-deleted posts (#12057)
equal to theads posts can be soft-deleted which results in a visibile = 2 state. at the moment those posts will be imported fully visible.
This commit is contained in:
@@ -359,7 +359,7 @@ class BulkImport::VBulletin < BulkImport::Base
|
||||
reply_to_post_number: reply_to_post_number,
|
||||
user_id: user_id_from_imported_id(row[3]),
|
||||
created_at: Time.zone.at(row[4]),
|
||||
hidden: row[5] == 0,
|
||||
hidden: row[5] != 1,
|
||||
raw: normalize_text(row[6]),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user