From e6dc916915af631effc790f1cadf740666168049 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 19 Dec 2013 13:52:23 -0800 Subject: if somebody tagged you in a private post, the tag email notification contained the obscured message. Clear it. --- include/enotify.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/enotify.php') diff --git a/include/enotify.php b/include/enotify.php index 011a1cde2..1ab6e7dfb 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -183,9 +183,6 @@ function notification($params) { $recip['channel_name'], '[zrl=' . $sender['xchan_url'] . ']' . $sender['xchan_name'] . '[/zrl]', $params['link']); - - // FIXME - check the item privacy - $private = false; $sitelink = t('Please visit %s to view and/or reply to the conversation.'); $tsitelink = sprintf( $sitelink, $siteurl ); @@ -455,6 +452,8 @@ function notification($params) { if(! $datarray['email_secure']) { switch($params['type']) { case NOTIFY_WALL: + case NOTIFY_TAGSELF: + case NOTIFY_POKE: case NOTIFY_COMMENT: if(! $private) break; -- cgit v1.2.3