From c5e38598280209903fc60c9ce996e7f3c34a4533 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 17 Jun 2013 19:25:46 -0700 Subject: another try on zidified notifications - this time it actually seems to work --- include/enotify.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/enotify.php') 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(); -- cgit v1.2.3