the rest of pubsubhubbub except for the UI that actually turns it on

This commit is contained in:
Mike Macgirvin 2010-09-30 21:38:45 -07:00
parent 632c557008
commit 0d2650b29b
4 changed files with 50 additions and 4 deletions

View file

@ -303,7 +303,7 @@
}
if((strlen($hub)) && ($cmd !== 'mail') && (followup == false)) {
$params = array('hub.mode' => 'publish', 'hub.url' => $a->get_baseurl() . '/dfrn_poll/' . $owner['nickname'] );
$params = array('hub.mode' => 'publish', 'hub.url' => urlencode($a->get_baseurl() . '/dfrn_poll/' . $owner['nickname'] ));
post_url($hub,$params);
}