mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
quick fix with notify_friends. sets xml variable in post request.
This commit is contained in:
@@ -9,9 +9,9 @@ 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.process
|
||||
xml = Post.build_xml_for(self)
|
||||
@@queue.add_post_request( friends_with_permissions, "xml=#{xml}" )
|
||||
@@queue.process
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user