aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-31 07:12:36 +0000
committerMario <mario@mariovavti.com>2021-05-31 07:12:36 +0000
commit3fe2a2b181ec2f96b5950560fc50859d6b3ff78a (patch)
tree051f013d8e34d761a1e9b0f55ef50e75777a3911
parent3d2b923102726d91508aa03edd0459948af704c6 (diff)
downloadvolse-hubzilla-3fe2a2b181ec2f96b5950560fc50859d6b3ff78a.tar.gz
volse-hubzilla-3fe2a2b181ec2f96b5950560fc50859d6b3ff78a.tar.bz2
volse-hubzilla-3fe2a2b181ec2f96b5950560fc50859d6b3ff78a.zip
do not overwrite the original rawmsg iconfig that came with the item
-rw-r--r--Zotlabs/Lib/Libzot.php4
-rw-r--r--include/help.php1
2 files changed, 1 insertions, 4 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index b04c0ea3c..d5768cc84 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -1270,10 +1270,6 @@ class Libzot {
if ($AS->data['signed_data']) {
IConfig::Set($arr, 'activitypub', 'signed_data', $AS->data['signed_data'], false);
- $j = json_decode($AS->data['signed_data'], true);
- if ($j) {
- IConfig::Set($arr, 'activitypub', 'rawmsg', json_encode(JSalmon::unpack($j['data'])), true);
- }
}
logger('Activity received: ' . print_r($arr, true), LOGGER_DATA, LOG_DEBUG);
diff --git a/include/help.php b/include/help.php
index 38facb04a..6daf81b8e 100644
--- a/include/help.php
+++ b/include/help.php
@@ -2,6 +2,7 @@
use \Michelf\MarkdownExtra;
+require_once('include/items.php');
/**
* @brief