Remote StatusNet sites would throw 400 if no hub.verify_token
This commit is contained in:
parent
1535ae5e3b
commit
1223c17568
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user