aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Zot
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-18 09:36:22 +0000
committerMario <mario@mariovavti.com>2021-02-18 09:36:22 +0000
commit92f3c5ae2191dbffcc327dd1068e692467dc24dd (patch)
tree72cefec7d6d1392d6871bb0f3e8cc204acc94636 /Zotlabs/Zot
parentc3ec5d4d6ac48988b70d17b0b08b35da92cfa24f (diff)
downloadvolse-hubzilla-92f3c5ae2191dbffcc327dd1068e692467dc24dd.tar.gz
volse-hubzilla-92f3c5ae2191dbffcc327dd1068e692467dc24dd.tar.bz2
volse-hubzilla-92f3c5ae2191dbffcc327dd1068e692467dc24dd.zip
backward compatibility with recent crypto changes
Diffstat (limited to 'Zotlabs/Zot')
-rw-r--r--Zotlabs/Zot/Receiver.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Zot/Receiver.php b/Zotlabs/Zot/Receiver.php
index 7fc445f66..f0378b650 100644
--- a/Zotlabs/Zot/Receiver.php
+++ b/Zotlabs/Zot/Receiver.php
@@ -32,6 +32,7 @@ class Receiver {
$this->encrypted = ((array_key_exists('iv',$data)) ? true : false);
if($this->encrypted) {
+ $data['encrypted'] = true;
$this->data = @json_decode(@Crypto::unencapsulate($data,$prvkey),true);
}
if(! $this->data)