projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1535ae5
)
Remote StatusNet sites would throw 400 if no hub.verify_token
author
Mikael Nordfeldth
<mmn@hethane.se>
Wed, 6 Nov 2013 11:46:59 +0000
(12:46 +0100)
committer
Mikael Nordfeldth
<mmn@hethane.se>
Wed, 6 Nov 2013 11:46:59 +0000
(12:46 +0100)
plugins/OStatus/classes/FeedSub.php
patch
|
blob
|
history
diff --git
a/plugins/OStatus/classes/FeedSub.php
b/plugins/OStatus/classes/FeedSub.php
index c055420ed91307a685db7d04320e4aeca2cd4718..aad7ec2110f08d159ad5a07c68cafde6d1f3cfcc 100644
(file)
--- 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();