From 3607601ea3c1bb2a5c99c2614b1213c8aea7349d Mon Sep 17 00:00:00 2001 From: maxwell Date: Tue, 10 Aug 2010 13:32:26 -0700 Subject: [PATCH] addded the right url to the push to method --- lib/diaspora/webhooks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/diaspora/webhooks.rb b/lib/diaspora/webhooks.rb index fc26c5c95..26cddc01a 100644 --- a/lib/diaspora/webhooks.rb +++ b/lib/diaspora/webhooks.rb @@ -18,7 +18,7 @@ module Diaspora def push_to(recipients) unless recipients.empty? - recipients.map!{|x| x = x.url + "receive/"} + recipients.map!{|x| x = x.receive_url } xml = Post.build_xml_for(self) Rails.logger.debug("Adding xml for #{self} to message queue to #{recipients}") @@queue.add_post_request( recipients, xml )