added variable to store the raw json string as received, since this is signed and we may need to forward the signed data.
This commit is contained in:
parent
b688dc3995
commit
a6c42e8756
@ -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;
|
||||
|
Reference in New Issue
Block a user