IZ MS debugging info on publish.....

This commit is contained in:
maxwell 2010-07-16 11:54:06 -07:00
parent ef19322ef6
commit 6a728f7b50

View file

@ -57,12 +57,14 @@ module Diaspora
end
def push_to(recipients)
@@queue.add_hub_notification('http://pubsubhubbub.appspot.com/', User.owner.url + self.class.to_s.pluralize.underscore + '.atom')
unless recipients.empty?
recipients.map!{|x| x = x.url + "receive/"}
xml = self.class.build_xml_for([self])
@@queue.add_post_request( recipients, xml )
@@queue.add_hub_notification('http://pubsubhubbub.appspot.com/', User.owner.url + self.class.to_s.pluralize.underscore + '.atom')
@@queue.process
end