addded the right url to the push to method
This commit is contained in:
parent
0ffe893f8a
commit
3607601ea3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Reference in a new issue