aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-06 18:38:30 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-06 18:38:30 -0700
commitf17c1f96944cd347296ede2a4d0afaee17b49234 (patch)
tree77e9adba065c2ecfb6849a91b2ecfa45492b1701 /include/diaspora.php
parentc9ec4f46b6177f88a41d3c3bdc11e06467101721 (diff)
downloadvolse-hubzilla-f17c1f96944cd347296ede2a4d0afaee17b49234.tar.gz
volse-hubzilla-f17c1f96944cd347296ede2a4d0afaee17b49234.tar.bz2
volse-hubzilla-f17c1f96944cd347296ede2a4d0afaee17b49234.zip
no need to obscure the diaspora signature if we're not obscuring the posts
Diffstat (limited to 'include/diaspora.php')
-rwxr-xr-xinclude/diaspora.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 530a83564..1ca3cebd3 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -1523,7 +1523,7 @@ function diaspora_comment($importer,$xml,$msg) {
$key = get_config('system','pubkey');
$x = array('signer' => $diaspora_handle, 'body' => $text,
'signed_text' => $signed_data, 'signature' => base64_encode($author_signature));
- $datarray['diaspora_meta'] = json_encode(crypto_encapsulate(json_encode($x),$key));
+ $datarray['diaspora_meta'] = json_encode($x);
}
@@ -2137,7 +2137,7 @@ function diaspora_like($importer,$xml,$msg) {
$key = get_config('system','pubkey');
$x = array('signer' => $diaspora_handle, 'body' => $text,
'signed_text' => $signed_data, 'signature' => base64_encode($author_signature));
- $arr['diaspora_meta'] = json_encode(crypto_encapsulate(json_encode($x),$key));
+ $arr['diaspora_meta'] = json_encode($x);
}
$x = item_store($arr);