From: Friendika <info@friendika.com>
Date: Wed, 24 Aug 2011 02:54:35 +0000 (-0700)
Subject: author and owner sign exactly the same string - apparently
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2cfdcee29a80e355307d013fe71d23a7300f8d98;p=friendica.git

author and owner sign exactly the same string - apparently
---

diff --git a/include/diaspora.php b/include/diaspora.php
index 3c86b00372..320f716bf8 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);