From 940b967bbb65e6588343cdd0b5f49940d0247078 Mon Sep 17 00:00:00 2001 From: maxwell Date: Wed, 30 Jun 2010 14:29:52 -0700 Subject: [PATCH] fuck --- lib/common.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.rb b/lib/common.rb index fbc7b2aba..8260034b4 100644 --- a/lib/common.rb +++ b/lib/common.rb @@ -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