This commit is contained in:
maxwell 2010-06-30 14:29:52 -07:00
parent 4077e4248e
commit 940b967bbb

View file

@ -15,7 +15,7 @@ module Diaspora
def parse_owner_from_xml(xml)
doc = Nokogiri::XML(xml) { |cfg| cfg.noblanks }
email = doc.xpath("/person/email").text.to_s
email = doc.xpath("//person/email").text.to_s
Friend.where(:email => email).first
end