quick fix with notify_friends. sets xml variable in post request.
This commit is contained in:
parent
1ce01be534
commit
cbdb3ecbc7
1 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ 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.add_post_request( friends_with_permissions, "xml=#{xml}" )
|
||||
@@queue.process
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue