From cbdb3ecbc756d87b8cc6318b14bf1b5a1ca689ed Mon Sep 17 00:00:00 2001 From: danielvincent Date: Thu, 17 Jun 2010 20:32:44 -0700 Subject: [PATCH] quick fix with notify_friends. sets xml variable in post request. --- lib/common.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common.rb b/lib/common.rb index 38d8c416f..5e4040959 100644 --- a/lib/common.rb +++ b/lib/common.rb @@ -9,9 +9,9 @@ module Diaspora def notify_friends if self.owner == User.first.email - xml = Post.build_xml_for(self) - @@queue.add_post_request( friends_with_permissions, xml ) - @@queue.process + xml = Post.build_xml_for(self) + @@queue.add_post_request( friends_with_permissions, "xml=#{xml}" ) + @@queue.process end end