diff --git a/gossamer_forums.rb b/gossamer_forums.rb index f652e5c..6003eb3 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -1,5 +1,5 @@ # gossamer threads migration-import code -# v0.16.2 +# v0.16.3 require 'mysql2' require 'open-uri' @@ -480,7 +480,8 @@ class GossamerForumsImporter < ImportScripts::Base next if resized_upload.nil? # Ensure the upload ID is valid and exists - if resized_upload && UserAvatar.exists?(custom_upload_id: resized_upload.id) + if resized_upload + # && UserAvatar.exists?(custom_upload_id: resized_upload.id) # Set the avatar using the resized image user.user_avatar = UserAvatar.create!(user_id: user.id, custom_upload_id: resized_upload.id) user.save!