Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Neff <benjamin@coding4coffee.ch>2016-06-14 06:31:44 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2016-06-26 07:21:02 +0300
commit57dbcc0e67caf41944ff7e0dd70cdc1748b5b615 (patch)
tree0fda01bdc159fe6b55795aaab3061aa09005dd7f /app/controllers
parent03123f1c4d371e9e70ed098c5a3a403e91178bbf (diff)
add root author to reshare subscribers
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/reshares_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/reshares_controller.rb b/app/controllers/reshares_controller.rb
index 4be025598..22915891a 100644
--- a/app/controllers/reshares_controller.rb
+++ b/app/controllers/reshares_controller.rb
@@ -11,7 +11,7 @@ class ResharesController < ApplicationController
end
if @reshare.save
- current_user.dispatch_post(@reshare, :url => post_url(@reshare), :additional_subscribers => @reshare.root_author)
+ current_user.dispatch_post(@reshare)
render :json => ExtremePostPresenter.new(@reshare, current_user), :status => 201
else
render :nothing => true, :status => 422