aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/diaspora.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index aaae7a717..0be2392d1 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -26,6 +26,8 @@ function diaspora_base_message($type,$data) {
function diaspora_msg_build($msg,$user,$contact,$prvkey,$pubkey) {
$a = get_app();
+ logger('diaspora_msg_build: ' . $msg, LOGGER_DATA);
+
$inner_aes_key = random_string(32);
$b_inner_aes_key = base64_encode($inner_aes_key);
$inner_iv = random_string(32);
@@ -96,6 +98,7 @@ $magic_env = <<< EOT
</entry>
EOT;
+ logger('diaspora_msg_build: magic_env: ' . $magic_env, LOGGER_DATA);
return $magic_env;
}