Only optical stuff

This commit is contained in:
Michael Vogel 2015-12-14 00:42:36 +01:00
parent a1a7bce603
commit bc8f753900
2 changed files with 23 additions and 21 deletions

View file

@ -13,6 +13,9 @@ function handle_pubsubhubbub() {
$r = q("SELECT * FROM `push_subscriber` WHERE `push` > 0");
foreach($r as $rr) {
logger("Generate feed for user ".$rr['nickname']." - last updated ".$rr['last_update'], LOGGER_DEBUG);
$params = ostatus_feed($a, $rr['nickname'], $rr['last_update']);
$hmac_sig = hash_hmac("sha1", $params, $rr['secret']);