From 92f3c5ae2191dbffcc327dd1068e692467dc24dd Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 18 Feb 2021 09:36:22 +0000 Subject: backward compatibility with recent crypto changes --- Zotlabs/Zot/Receiver.php | 1 + 1 file changed, 1 insertion(+) (limited to 'Zotlabs') 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) -- cgit v1.2.3