diff --git a/lib/diaspora/exporter.rb b/lib/diaspora/exporter.rb index 106c94bb0d5bfc52184b1c61a31a86488e0d5b21..f23ed7681d4096a8676f5498359eac9ed644c13b 100644 --- a/lib/diaspora/exporter.rb +++ b/lib/diaspora/exporter.rb @@ -16,9 +16,9 @@ module Diaspora builder = Nokogiri::XML::Builder.new do |xml| xml.user { xml.username user.username - xml.serialized_private_key user.serialized_private_key xml.parent << user.person.to_xml - + xml.serialized_private_key user.serialized_private_key + xml.aspects { user.aspects.each do |aspect| xml.aspect {