diff options
author | Mario <mario@mariovavti.com> | 2022-12-03 08:53:53 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-12-03 08:53:53 +0000 |
commit | 539b69d507d609e15d4cc0ff9cc7ee3ca858deb1 (patch) | |
tree | 653b938bfa5702136c0edc81d57e7699703de63e /Zotlabs/Lib/Activity.php | |
parent | 1a4f59cd7008cf21378fcb3a0eac75c5aaedf07b (diff) | |
download | volse-hubzilla-539b69d507d609e15d4cc0ff9cc7ee3ca858deb1.tar.gz volse-hubzilla-539b69d507d609e15d4cc0ff9cc7ee3ca858deb1.tar.bz2 volse-hubzilla-539b69d507d609e15d4cc0ff9cc7ee3ca858deb1.zip |
look for iconfig at the right place, fix mod sharedwithme, comment out unused configs
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 9dbb15c28..8f4e0444c 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -672,6 +672,7 @@ class Activity { } } } + return $ret; } @@ -2456,7 +2457,7 @@ class Activity { $s['attach'] = $a; } - $a = self::decode_iconfig($act->obj); + $a = self::decode_iconfig($act->data); if ($a) { $s['iconfig'] = $a; } @@ -2786,8 +2787,9 @@ class Activity { set_iconfig($s, 'diaspora', 'fields', $diaspora_rawmsg, 1); } - set_iconfig($s, 'activitypub', 'recips', $act->raw_recips); - + if ($act->raw_recips) { + set_iconfig($s, 'activitypub', 'recips', $act->raw_recips); + } $hookinfo = [ 'act' => $act, |