diff options
author | Mario <mario@mariovavti.com> | 2021-09-06 10:19:37 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-09-06 10:19:37 +0000 |
commit | 95367a8267cf58a7234085d16cc9c77bdde76fad (patch) | |
tree | 7152281a9a4770982664c393dcfa0a165a3ef52a /Zotlabs | |
parent | 97ef781a0f9bf01984b732787239e306d6ba7ec9 (diff) | |
download | volse-hubzilla-95367a8267cf58a7234085d16cc9c77bdde76fad.tar.gz volse-hubzilla-95367a8267cf58a7234085d16cc9c77bdde76fad.tar.bz2 volse-hubzilla-95367a8267cf58a7234085d16cc9c77bdde76fad.zip |
if posting from hq return to the message we just posted
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Item.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index 0e76755a8..7099a54e5 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -1377,6 +1377,10 @@ class Item extends Controller { return $post; if($return_path) { + if($return_path === 'hq') { + goaway(z_root() . '/hq/' . gen_link_id($datarray['mid'])); + } + goaway(z_root() . "/" . $return_path); } |