aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ActivityStreams.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-27 20:27:02 +0000
committerMario <mario@mariovavti.com>2022-01-27 20:27:02 +0000
commit38ecff1220a6b11261ba9f11edbefb5e5bfaa53b (patch)
treeaf2e83d68914e3ddfd699c6cb271081e6826edf8 /Zotlabs/Lib/ActivityStreams.php
parent67e64287afc6c41c80065614f7beebe8a552a76b (diff)
downloadvolse-hubzilla-38ecff1220a6b11261ba9f11edbefb5e5bfaa53b.tar.gz
volse-hubzilla-38ecff1220a6b11261ba9f11edbefb5e5bfaa53b.tar.bz2
volse-hubzilla-38ecff1220a6b11261ba9f11edbefb5e5bfaa53b.zip
some refinement on storing the raw ap message, some comments and make sure the AS->raw is always a json string
Diffstat (limited to 'Zotlabs/Lib/ActivityStreams.php')
-rw-r--r--Zotlabs/Lib/ActivityStreams.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Lib/ActivityStreams.php b/Zotlabs/Lib/ActivityStreams.php
index 09e1679ac..fe2e7610b 100644
--- a/Zotlabs/Lib/ActivityStreams.php
+++ b/Zotlabs/Lib/ActivityStreams.php
@@ -40,6 +40,7 @@ class ActivityStreams {
if (is_array($string)) {
$this->data = $string;
+ $this->raw = json_encode($string, JSON_UNESCAPED_SLASHES);
}
else {
$this->data = json_decode($string, true);