From 3915164bb464a52f66d30b4c75e645a4ccc73ebf Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 2 Dec 2025 10:24:54 +0000 Subject: [PATCH] we do not need to decode iconfig anymore --- Zotlabs/Lib/Activity.php | 5 ----- Zotlabs/Module/Pubstream.php | 2 +- Zotlabs/Module/Viewsrc.php | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index ed1e2c0dc..676762bd8 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -2419,11 +2419,6 @@ class Activity { if ($a) { $s['attach'] = $a; } - - $a = self::decode_iconfig($act->data); - if ($a) { - $s['iconfig'] = $a; - } } diff --git a/Zotlabs/Module/Pubstream.php b/Zotlabs/Module/Pubstream.php index 65d3be955..57a09c279 100644 --- a/Zotlabs/Module/Pubstream.php +++ b/Zotlabs/Module/Pubstream.php @@ -251,7 +251,7 @@ class Pubstream extends \Zotlabs\Web\Controller { // use effective_uid param of xchan_query to help sort out comment permission // for sys_channel owned items. - xchan_query($items, true, local_channel()); + xchan_query($items); $items = fetch_post_tags($items,true); $items = conv_sort($items, $ordering); } diff --git a/Zotlabs/Module/Viewsrc.php b/Zotlabs/Module/Viewsrc.php index c3d8d96de..214ff0d9d 100644 --- a/Zotlabs/Module/Viewsrc.php +++ b/Zotlabs/Module/Viewsrc.php @@ -84,7 +84,7 @@ class Viewsrc extends \Zotlabs\Web\Controller { if(is_ajax()) { echo '
'; - echo '
id: ' . $r[0]['id'] . ' | plink | llink
mid: ' . $r[0]['mid'] . '
uuid: ' . $r[0]['uuid'] . '
'; + echo '
id: ' . $r[0]['id'] . ' | plink | llink
mid: ' . $r[0]['mid'] . '
hashpath: ' . hash('sha256', $r[0]['mid']) . '
uuid: ' . $r[0]['uuid'] . '
'; echo '
'; echo '
' . $o . '
'; echo '
';