mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
make sure to load the profile when in channel module
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user