aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/enotify.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/enotify.php b/include/enotify.php
index 11f594d6c..71629b9d9 100644
--- a/include/enotify.php
+++ b/include/enotify.php
@@ -363,13 +363,15 @@ function notification($params) {
// the recipient address instead of the current observer
$_SESSION['zid_override'] = $recip['channel_address'] . '@' . get_app()->get_hostname();
-
+ $_SESSION['zrl_override'] = z_root() . '/channel/' . $recip['channel_address'];
+
$textversion = zidify_links($textversion);
$htmlversion = zidify_links($htmlversion);
// unset when done to revert to normal behaviour
unset($_SESSION['zid_override']);
+ unset($_SESSION['zrl_override']);
$datarray = array();