From: Mikael Nordfeldth Date: Wed, 6 Nov 2013 11:46:59 +0000 (+0100) Subject: Remote StatusNet sites would throw 400 if no hub.verify_token X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1223c1756802d4f25980ba85419be92cb7cddeee;p=quix0rs-gnu-social.git Remote StatusNet sites would throw 400 if no hub.verify_token --- diff --git a/plugins/OStatus/classes/FeedSub.php b/plugins/OStatus/classes/FeedSub.php index c055420ed9..aad7ec2110 100644 --- a/plugins/OStatus/classes/FeedSub.php +++ b/plugins/OStatus/classes/FeedSub.php @@ -280,6 +280,8 @@ class FeedSub extends Managed_DataObject $post = array('hub.mode' => $mode, 'hub.callback' => $callback, 'hub.verify' => 'async', // TODO: deprecated, remove when noone uses PuSH <0.4 + 'hub.verify_token' => 'Deprecated-since-PuSH-0.4', // TODO: rm! + 'hub.secret' => $this->secret, 'hub.topic' => $this->uri); $client = new HTTPClient();