Closed mrueschman closed 6 years ago
Done!
Also for future reference:
User.where(deleted: true, shadow_banned: true).order(id: :desc).pluck(:email).group_by { |email| email.gsub(/(.*?)@/, "") }.collect { |key, values| [key, values.count] }.sort_by{ |o| -o.second }.each { |key, count| puts "#{key} #{count}" }
E.g. yopmail
Perhaps do a scan through hundreds of recently deleted accounts to see if there are other throwaway domains that should get a "+1" shadow-ban score added immediately.