fuck
This commit is contained in:
parent
4077e4248e
commit
940b967bbb
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue