aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-19 04:48:54 -0700
committerFriendika <info@friendika.com>2011-08-19 04:48:54 -0700
commitb49175ec5d81caec8e10a6a1bf17adb6a13661f4 (patch)
tree81641f25e665701e6c83afe9a7aca263db02f71e /include/diaspora.php
parent9b2d408d7391fe03ce7fef48115d4f24582c249e (diff)
downloadvolse-hubzilla-b49175ec5d81caec8e10a6a1bf17adb6a13661f4.tar.gz
volse-hubzilla-b49175ec5d81caec8e10a6a1bf17adb6a13661f4.tar.bz2
volse-hubzilla-b49175ec5d81caec8e10a6a1bf17adb6a13661f4.zip
more logging
Diffstat (limited to 'include/diaspora.php')
-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;
}