diff options
author | friendica <info@friendica.com> | 2012-06-03 14:47:04 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-03 14:47:04 -0700 |
commit | a66baf29188248fd83ccdf7053a0cf589a9fa8af (patch) | |
tree | 3ec279fab94641faa31d9a031dab93260bc416f3 /mod/item.php | |
parent | 959b264c440e0c39ec235defdec42cb485069f18 (diff) | |
parent | 2a01ae8149e8a16ea0c0c5619a8dd0b682dba21c (diff) | |
download | volse-hubzilla-a66baf29188248fd83ccdf7053a0cf589a9fa8af.tar.gz volse-hubzilla-a66baf29188248fd83ccdf7053a0cf589a9fa8af.tar.bz2 volse-hubzilla-a66baf29188248fd83ccdf7053a0cf589a9fa8af.zip |
Merge pull request #323 from fermionic/add-relayable-retraction-support-for-diaspora
Add relayable retraction support for diaspora
Diffstat (limited to 'mod/item.php')
-rw-r--r-- | mod/item.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/item.php b/mod/item.php index 497cf5daa..c1c0b14ec 100644 --- a/mod/item.php +++ b/mod/item.php @@ -737,16 +737,16 @@ function item_post(&$a) { if($datarray['verb'] === ACTIVITY_LIKE) $signed_text = $datarray['guid'] . ';' . 'Post' . ';' . $parent_item['guid'] . ';' . 'true' . ';' . $myaddr; else - $signed_text = $datarray['guid'] . ';' . $parent_item['guid'] . ';' . $signed_body . ';' . $myaddr; + $signed_text = $datarray['guid'] . ';' . $parent_item['guid'] . ';' . $signed_body . ';' . $myaddr; $authorsig = base64_encode(rsa_sign($signed_text,$a->user['prvkey'],'sha256')); q("insert into sign (`iid`,`signed_text`,`signature`,`signer`) values (%d,'%s','%s','%s') ", intval($post_id), - dbesc($signed_text), - dbesc(base64_encode($authorsig)), - dbesc($myaddr) - ); + dbesc($signed_text), + dbesc(base64_encode($authorsig)), + dbesc($myaddr) + ); } } else { |