From 8250cb1e8daefc67b5bdfe966a95aee197145012 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 26 Jan 2022 09:35:08 +0000 Subject: always store the raw message --- Zotlabs/Lib/Activity.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Zotlabs/Lib/Activity.php') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 2de25885a..09aaeae25 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -2639,11 +2639,7 @@ class Activity { } set_iconfig($s, 'activitypub', 'recips', $act->raw_recips); - - $parent = (($s['parent_mid'] && $s['parent_mid'] === $s['mid']) ? true : false); - if ($parent) { - set_iconfig($s, 'activitypub', 'rawmsg', $act->raw, 1); - } + set_iconfig($s, 'activitypub', 'rawmsg', $act->raw, 1); $hookinfo = [ 'act' => $act, -- cgit v1.2.3