aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-30 16:29:04 +0000
committerMario <mario@mariovavti.com>2022-01-30 16:29:04 +0000
commitc3428acd801756f03b1827c56621b967e165d0de (patch)
tree72e82582a2871da49c3534b2ba544de5521ebe23 /Zotlabs/Lib/Activity.php
parentd619192b22484fa21700b5c6d2ce5d029897ee76 (diff)
downloadvolse-hubzilla-c3428acd801756f03b1827c56621b967e165d0de.tar.gz
volse-hubzilla-c3428acd801756f03b1827c56621b967e165d0de.tar.bz2
volse-hubzilla-c3428acd801756f03b1827c56621b967e165d0de.zip
make sure we never save a zot6 packet as ap raw message
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 881bd04e2..17d14d44a 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -2685,7 +2685,7 @@ class Activity {
if ($ap_rawmsg) {
set_iconfig($s, 'activitypub', 'rawmsg', $ap_rawmsg, 1);
}
- else {
+ elseif (!array_key_exists('signed', $raw_arr)) {
set_iconfig($s, 'activitypub', 'rawmsg', $act->raw, 1);
}