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
|
|
@ -9,9 +9,9 @@ module Diaspora
|
||||||
|
|
||||||
def notify_friends
|
def notify_friends
|
||||||
if self.owner == User.first.email
|
if self.owner == User.first.email
|
||||||
xml = Post.build_xml_for(self)
|
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
|
@@queue.process
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue