Remote StatusNet sites would throw 400 if no hub.verify_token

This commit is contained in:
Mikael Nordfeldth 2013-11-06 12:46:59 +01:00
parent 1535ae5e3b
commit 1223c17568
1 changed files with 2 additions and 0 deletions

View 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();