aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-21 18:10:15 -0800
committerfriendica <info@friendica.com>2012-02-21 18:10:15 -0800
commit3f2497ad20f5829b9e473cffbf1e635dae3f9dc9 (patch)
tree418e3c3a0109b2196979afa21fe0467dd690fc17
parent3e69b86bc1754087f8093b11b27aee2f56f5d79a (diff)
downloadvolse-hubzilla-3f2497ad20f5829b9e473cffbf1e635dae3f9dc9.tar.gz
volse-hubzilla-3f2497ad20f5829b9e473cffbf1e635dae3f9dc9.tar.bz2
volse-hubzilla-3f2497ad20f5829b9e473cffbf1e635dae3f9dc9.zip
add full email link to notification
-rwxr-xr-xinclude/enotify.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/enotify.php b/include/enotify.php
index 7fa83cfa4..6af2243f0 100755
--- a/include/enotify.php
+++ b/include/enotify.php
@@ -30,9 +30,9 @@ function notification($params) {
$preamble = sprintf( t('%s sent you a new private message at %s.'),$params['source_name'],$sitename);
$epreamble = sprintf( t('%s sent you %s.'),'[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]', '[url=$itemlink]' . t('a private message') . '[/url]');
$sitelink = t('Please visit %s to view and/or reply to your private messages.');
- $tsitelink = sprintf( $sitelink, $siteurl . '/message' );
- $hsitelink = sprintf( $sitelink, '<a href="' . $siteurl . '/message">' . $sitename . '</a>');
- $itemlink = $siteurl . '/message';
+ $tsitelink = sprintf( $sitelink, $siteurl . '/message/' . $params['item']['id'] );
+ $hsitelink = sprintf( $sitelink, '<a href="' . $siteurl . '/message/' . $params['item']['id'] . '">' . $sitename . '</a>');
+ $itemlink = $siteurl . '/message/' . $params['item']['id'];
}
if($params['type'] == NOTIFY_COMMENT) {