From 1223c1756802d4f25980ba85419be92cb7cddeee Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Wed, 6 Nov 2013 12:46:59 +0100 Subject: [PATCH] Remote StatusNet sites would throw 400 if no hub.verify_token --- plugins/OStatus/classes/FeedSub.php | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.39.5