diff options
author | Mario Vavti <mario@mariovavti.com> | 2021-07-16 12:04:31 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2021-07-16 12:04:31 +0200 |
commit | 3051e2c268f9a85fd70b69c7a62084755b28f7af (patch) | |
tree | 29e6b3615e9e9a571d7adc566eec683eff812353 /Zotlabs | |
parent | d7489e3913d263c8e6ea022d06244cedae6f2582 (diff) | |
download | volse-hubzilla-3051e2c268f9a85fd70b69c7a62084755b28f7af.tar.gz volse-hubzilla-3051e2c268f9a85fd70b69c7a62084755b28f7af.tar.bz2 volse-hubzilla-3051e2c268f9a85fd70b69c7a62084755b28f7af.zip |
redirect to the local item instead of the item at the primary location if we deal with a wall item
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index 8c9bf2708..0e76755a8 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -290,7 +290,7 @@ class Item extends Controller { if (intval($xv['item_wall'])) { $c = channelx_by_n($xv['uid']); if ($c) { - goaway($c['xchan_url'] . '?mid=' . gen_link_id($xv['mid'])); + goaway(z_root() . '/channel/' . $c['channel_address'] . '?mid=' . gen_link_id($xv['mid'])); } } } |