we do not need to decode iconfig anymore

This commit is contained in:
Mario
2025-12-02 10:24:54 +00:00
parent 25aa7d5738
commit 3915164bb4
3 changed files with 2 additions and 7 deletions

View File

@@ -2419,11 +2419,6 @@ class Activity {
if ($a) {
$s['attach'] = $a;
}
$a = self::decode_iconfig($act->data);
if ($a) {
$s['iconfig'] = $a;
}
}

View File

@@ -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);
}

View File

@@ -84,7 +84,7 @@ class Viewsrc extends \Zotlabs\Web\Controller {
if(is_ajax()) {
echo '<div class="p-1">';
echo '<div>id: ' . $r[0]['id'] . ' | <a href="' . $r[0]['plink'] . '" target="_blank">plink</a> | <a href="' . $r[0]['llink'] . '" target="_blank">llink</a><br>mid: ' . $r[0]['mid'] . '<br>uuid: ' . $r[0]['uuid'] . '</div>';
echo '<div>id: ' . $r[0]['id'] . ' | <a href="' . $r[0]['plink'] . '" target="_blank">plink</a> | <a href="' . $r[0]['llink'] . '" target="_blank">llink</a><br>mid: ' . $r[0]['mid'] . '<br>hashpath: ' . hash('sha256', $r[0]['mid']) . '<br>uuid: ' . $r[0]['uuid'] . '</div>';
echo '<hr>';
echo '<pre class="p-1">' . $o . '</pre>';
echo '</div>';