aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-02 02:43:07 -0700
committerfriendica <info@friendica.com>2014-10-02 02:43:07 -0700
commit16b94f1dc0ae8ae812e6e584f76bfb7643f9aa20 (patch)
treeafd673f8854b3aad116d1891f7788862c419bd39 /include/diaspora.php
parentbaa0b0f3939c262a1d9722a2e103c35954a5e8b5 (diff)
downloadvolse-hubzilla-16b94f1dc0ae8ae812e6e584f76bfb7643f9aa20.tar.gz
volse-hubzilla-16b94f1dc0ae8ae812e6e584f76bfb7643f9aa20.tar.bz2
volse-hubzilla-16b94f1dc0ae8ae812e6e584f76bfb7643f9aa20.zip
issues with diaspora comment signatures on relayed comments that are relayed through a redmatrix site (parent post is redmatrix) and involve a private post.
Diffstat (limited to 'include/diaspora.php')
-rwxr-xr-xinclude/diaspora.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index f9fd3b4ee..d91480c8f 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -2604,6 +2604,9 @@ function diaspora_send_relay($item,$owner,$contact,$public_batch = false) {
$parentauthorsig = base64_encode(rsa_sign($sender_signed_text,$owner['channel_prvkey'],'sha256'));
+ if(! $text)
+ logger('diaspora_send_relay: no text');
+
$msg = replace_macros($tpl,array(
'$guid' => xmlify($item['mid']),
'$parent_guid' => xmlify($parent['mid']),