pubsubhubbub endpoint
This commit is contained in:
parent
7ad27f5737
commit
abe6a3286e
7 changed files with 363 additions and 238 deletions
|
@ -239,8 +239,7 @@ function dfrn_confirm_post(&$a) {
|
|||
$pubkey = openssl_pkey_get_details($res);
|
||||
$public_key = $pubkey["key"];
|
||||
|
||||
$r = q("UPDATE `contact` SET `issued-pubkey` = '%s', `prvkey` = '%s' WHERE `id` = %d AND `uid` = %d LIMIT 1",
|
||||
dbesc($public_key),
|
||||
$r = q("UPDATE `contact` SET `prvkey` = '%s' WHERE `id` = %d AND `uid` = %d LIMIT 1",
|
||||
dbesc($private_key),
|
||||
intval($contact_id),
|
||||
intval($uid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue