IZ MS debugging info on publish.....
This commit is contained in:
parent
ef19322ef6
commit
6a728f7b50
1 changed files with 3 additions and 1 deletions
|
|
@ -57,12 +57,14 @@ module Diaspora
|
||||||
end
|
end
|
||||||
|
|
||||||
def push_to(recipients)
|
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?
|
unless recipients.empty?
|
||||||
recipients.map!{|x| x = x.url + "receive/"}
|
recipients.map!{|x| x = x.url + "receive/"}
|
||||||
xml = self.class.build_xml_for([self])
|
xml = self.class.build_xml_for([self])
|
||||||
@@queue.add_post_request( recipients, xml )
|
@@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
|
@@queue.process
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue