aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-23 19:54:35 -0700
committerFriendika <info@friendika.com>2011-08-23 19:54:35 -0700
commit2cfdcee29a80e355307d013fe71d23a7300f8d98 (patch)
tree54edab8a6e6a8c0c592b3329fbe505bdc23294b4 /include
parentb57a01dc1418cc179ddd327af9d04a9e68e679e9 (diff)
downloadvolse-hubzilla-2cfdcee29a80e355307d013fe71d23a7300f8d98.tar.gz
volse-hubzilla-2cfdcee29a80e355307d013fe71d23a7300f8d98.tar.bz2
volse-hubzilla-2cfdcee29a80e355307d013fe71d23a7300f8d98.zip
author and owner sign exactly the same string - apparently
Diffstat (limited to 'include')
-rw-r--r--include/diaspora.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 3c86b0037..320f716bf 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -514,7 +514,8 @@ function diaspora_comment($importer,$xml,$msg) {
if($parent_author_signature) {
- $owner_signed_data = $guid . ';' . $parent_guid . ';' . $text . ';' . $msg['author'];
+// $owner_signed_data = $guid . ';' . $parent_guid . ';' . $text . ';' . $msg['author'];
+ $owner_signed_data = $guid . ';' . $parent_guid . ';' . $text . ';' . $diaspora_handle;
$parent_author_signature = base64_decode($parent_author_signature);
@@ -734,7 +735,8 @@ function diaspora_like($importer,$xml,$msg) {
}
if($parent_author_signature) {
- $owner_signed_data = $guid . ';' . $parent_guid . ';' . $target_type . ';' . $positive . ';' . $msg['author'];
+// $owner_signed_data = $guid . ';' . $parent_guid . ';' . $target_type . ';' . $positive . ';' . $msg['author'];
+ $owner_signed_data = $guid . ';' . $parent_guid . ';' . $target_type . ';' . $positive . ';' . $diaspora_handle;
$parent_author_signature = base64_decode($parent_author_signature);