aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-19 13:52:23 -0800
committerfriendica <info@friendica.com>2013-12-19 13:52:23 -0800
commite6dc916915af631effc790f1cadf740666168049 (patch)
treee030ec426dbb89a1b98dbe647e12dc058b71a741 /include
parent825492407e3e064b6cd806b3ed7d484d2cc9f50e (diff)
downloadvolse-hubzilla-e6dc916915af631effc790f1cadf740666168049.tar.gz
volse-hubzilla-e6dc916915af631effc790f1cadf740666168049.tar.bz2
volse-hubzilla-e6dc916915af631effc790f1cadf740666168049.zip
if somebody tagged you in a private post, the tag email notification contained the obscured message. Clear it.
Diffstat (limited to 'include')
-rw-r--r--include/enotify.php5
1 files changed, 2 insertions, 3 deletions
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;