diff options
author | Mario <mario@mariovavti.com> | 2025-05-31 16:56:30 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2025-05-31 16:56:30 +0000 |
commit | 525a45f69c9eca1cc8a99da3be5d2abcaf3afde1 (patch) | |
tree | ea2413e8ae74e332a05029641145f26669a90626 /Zotlabs/Module | |
parent | e35d4b6be02cf67a643c16db880538d893b05fcf (diff) | |
download | volse-hubzilla-525a45f69c9eca1cc8a99da3be5d2abcaf3afde1.tar.gz volse-hubzilla-525a45f69c9eca1cc8a99da3be5d2abcaf3afde1.tar.bz2 volse-hubzilla-525a45f69c9eca1cc8a99da3be5d2abcaf3afde1.zip |
make sure to load the profile when in channel module
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Request.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Module/Request.php b/Zotlabs/Module/Request.php index cdce4c66a..439f56282 100644 --- a/Zotlabs/Module/Request.php +++ b/Zotlabs/Module/Request.php @@ -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); |