]> git.mxchange.org Git - friendica.git/commitdiff
may fix diaspora send
authorFriendika <info@friendika.com>
Fri, 16 Sep 2011 21:46:04 +0000 (14:46 -0700)
committerFriendika <info@friendika.com>
Fri, 16 Sep 2011 21:46:04 +0000 (14:46 -0700)
boot.php
include/diaspora.php

index 6ee649230a27d0650819990e161b11e79bf0cbcc..07bde382814acd2d0ba8d0258200850e91bb06cf 100644 (file)
--- 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      );
 
index 4b1cc333bd9f48854291a22fdcaeacd365faf621..5e4301e78cbf9899ec8b7f4fa76dff1a41dbe98c 100644 (file)
@@ -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);