make sure to load the profile when in channel module

This commit is contained in:
Mario
2025-05-31 16:56:30 +00:00
parent e35d4b6be0
commit 525a45f69c

View File

@@ -42,6 +42,11 @@ class Request extends Controller
$items = fetch_post_tags($items,true);
if ($module === 'channel') {
$parts = explode('@', $items[0]['owner']['xchan_addr']);
profile_load($parts[0]);
}
$ret['html'] = conversation($items, $module, true, 'r_preview');
json_return_and_die($ret);