From a6c42e875633e8e67bbf93425182cce4de3eb653 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 23 Apr 2018 21:55:16 -0700 Subject: [PATCH] added variable to store the raw json string as received, since this is signed and we may need to forward the signed data. --- Zotlabs/Lib/ActivityStreams.php | 2 ++ 1 file changed, 2 insertions(+) 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;