mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:50:11 +00:00
The generated XML is now valid and it seems to work.
This commit is contained in:
parent
75f1a17f7e
commit
7d7e2e74f4
4 changed files with 30 additions and 29 deletions
|
@ -66,8 +66,6 @@ function get_salmon_key($uri,$keyhash) {
|
|||
|
||||
function slapper($owner,$url,$slap) {
|
||||
|
||||
logger('slapper called for '.$url.'. Data: ' . $slap);
|
||||
|
||||
// does contact have a salmon endpoint?
|
||||
|
||||
if(! strlen($url))
|
||||
|
@ -97,6 +95,8 @@ EOT;
|
|||
|
||||
$slap = str_replace('<entry>',$namespaces,$slap);
|
||||
|
||||
logger('slapper called for '.$url.'. Data: ' . $slap);
|
||||
|
||||
// create a magic envelope
|
||||
|
||||
$data = base64url_encode($slap);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue