aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-16 14:46:04 -0700
committerFriendika <info@friendika.com>2011-09-16 14:46:04 -0700
commit5a6a3cab8ee6b5c979b7c51112bb2c86915ac207 (patch)
tree5eb5931e24745b2499f360cfa146e2634782f7fd
parent9b5d5eca07099f9517be617b0cfb903988b01583 (diff)
downloadvolse-hubzilla-5a6a3cab8ee6b5c979b7c51112bb2c86915ac207.tar.gz
volse-hubzilla-5a6a3cab8ee6b5c979b7c51112bb2c86915ac207.tar.bz2
volse-hubzilla-5a6a3cab8ee6b5c979b7c51112bb2c86915ac207.zip
may fix diaspora send
-rw-r--r--boot.php2
-rw-r--r--include/diaspora.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/boot.php b/boot.php
index 6ee649230..07bde3828 100644
--- a/boot.php
+++ b/boot.php
@@ -7,7 +7,7 @@ require_once('include/text.php');
require_once("include/pgettext.php");
-define ( 'FRIENDIKA_VERSION', '2.2.1104' );
+define ( 'FRIENDIKA_VERSION', '2.2.1105' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1087 );
diff --git a/include/diaspora.php b/include/diaspora.php
index 4b1cc333b..5e4301e78 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -165,15 +165,15 @@ EOT;
$magic_env = <<< EOT
<?xml version='1.0' encoding='UTF-8'?>
-<entry xmlns='http://www.w3.org/2005/Atom'>
+<diaspora xmlns="https://joindiaspora.org/protocol" xmlns:me="http://salmon-protocol.org/ns/magic-env" >
$encrypted_header
- <me:env xmlns:me="http://salmon-protocol.org/ns/magic-env">
+ <me:env>
<me:encoding>base64url</me:encoding>
<me:alg>RSA-SHA256</me:alg>
<me:data type="application/xml">$data</me:data>
<me:sig>$sig</me:sig>
</me:env>
-</entry>
+</diaspora>
EOT;
logger('diaspora_msg_build: magic_env: ' . $magic_env, LOGGER_DATA);