]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Remote StatusNet sites would throw 400 if no hub.verify_token
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 6 Nov 2013 11:46:59 +0000 (12:46 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 6 Nov 2013 11:46:59 +0000 (12:46 +0100)
plugins/OStatus/classes/FeedSub.php

index c055420ed91307a685db7d04320e4aeca2cd4718..aad7ec2110f08d159ad5a07c68cafde6d1f3cfcc 100644 (file)
@@ -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();