about summary refs log tree commit diff
path: root/app/workers/pubsubhubbub/confirmation_worker.rb
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-03-27 10:26:47 -0500
committerDavid Yip <yipdw@member.fsf.org>2018-03-27 10:26:47 -0500
commitf61aa8e0f7101b5b7510a3809c94b7083ba08329 (patch)
tree3677a21fdbd4174125495e3545c527e8aff47297 /app/workers/pubsubhubbub/confirmation_worker.rb
parent6af17b79c57b95a39fb4ed325aeff3edf02162ea (diff)
parent40e5d2303ba1edc51beae66cc15263675980106a (diff)
Merge remote-tracking branch 'origin/master' into gs-master
  Conflicts:
 	app/javascript/styles/mastodon/components.scss
 	app/models/media_attachment.rb
Diffstat (limited to 'app/workers/pubsubhubbub/confirmation_worker.rb')
-rw-r--r--app/workers/pubsubhubbub/confirmation_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/pubsubhubbub/confirmation_worker.rb b/app/workers/pubsubhubbub/confirmation_worker.rb
index cc2d1225b..c0e7b677e 100644
--- a/app/workers/pubsubhubbub/confirmation_worker.rb
+++ b/app/workers/pubsubhubbub/confirmation_worker.rb
@@ -57,7 +57,7 @@ class Pubsubhubbub::ConfirmationWorker
 
   def callback_get_with_params
     Request.new(:get, subscription.callback_url, params: callback_params).perform do |response|
-      @callback_response_body = response.body.to_s
+      @callback_response_body = response.body_with_limit
     end
   end