aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-23 21:55:16 -0700
committerzotlabs <mike@macgirvin.com>2018-04-23 21:55:16 -0700
commita6c42e875633e8e67bbf93425182cce4de3eb653 (patch)
treef4babd2371cb492b5381870bf45f6afb2f493e3b /Zotlabs/Lib
parentb688dc3995a679fe58cfcc636806248026910d9d (diff)
downloadvolse-hubzilla-a6c42e875633e8e67bbf93425182cce4de3eb653.tar.gz
volse-hubzilla-a6c42e875633e8e67bbf93425182cce4de3eb653.tar.bz2
volse-hubzilla-a6c42e875633e8e67bbf93425182cce4de3eb653.zip
added variable to store the raw json string as received, since this is signed and we may need to forward the signed data.
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/ActivityStreams.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Lib/ActivityStreams.php b/Zotlabs/Lib/ActivityStreams.php
index 2e9bb0703..3a99e7b49 100644
--- a/Zotlabs/Lib/ActivityStreams.php
+++ b/Zotlabs/Lib/ActivityStreams.php
@@ -9,6 +9,7 @@ namespace Zotlabs\Lib;
*/
class ActivityStreams {
+ public $raw = null;
public $data;
public $valid = false;
public $id = '';
@@ -33,6 +34,7 @@ class ActivityStreams {
*/
function __construct($string) {
+ $this->raw = $string;
$this->data = json_decode($string, true);
if($this->data) {
$this->valid = true;