mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
do not overwrite the original rawmsg iconfig that came with the item
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
use \Michelf\MarkdownExtra;
|
||||
|
||||
require_once('include/items.php');
|
||||
|
||||
/**
|
||||
* @brief
|
||||
|
||||
Reference in New Issue
Block a user