diff options
author | Zach Prezkuta <fermion@gmx.com> | 2012-05-31 19:40:12 -0600 |
---|---|---|
committer | Zach Prezkuta <fermion@gmx.com> | 2012-06-03 14:53:29 -0600 |
commit | c0af6dbb1a5507dcf0fffaf13b42cfd71b0d0c50 (patch) | |
tree | 0ed31d5a6de8c1f4abaaa509aa119a4704c955c4 /mod/item.php | |
parent | 1fe1ac022f0755d73c62bac86f1b54fdbd6b50f5 (diff) | |
download | volse-hubzilla-c0af6dbb1a5507dcf0fffaf13b42cfd71b0d0c50.tar.gz volse-hubzilla-c0af6dbb1a5507dcf0fffaf13b42cfd71b0d0c50.tar.bz2 volse-hubzilla-c0af6dbb1a5507dcf0fffaf13b42cfd71b0d0c50.zip |
Implement relaying of relayable_retractions
Also: some whitespace cleanup, fix Diaspora parent DB query
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 { |