if somebody tagged you in a private post, the tag email notification contained the obscured message. Clear it.
This commit is contained in:
parent
825492407e
commit
e6dc916915
@ -184,9 +184,6 @@ function notification($params) {
|
|||||||
'[zrl=' . $sender['xchan_url'] . ']' . $sender['xchan_name'] . '[/zrl]',
|
'[zrl=' . $sender['xchan_url'] . ']' . $sender['xchan_name'] . '[/zrl]',
|
||||||
$params['link']);
|
$params['link']);
|
||||||
|
|
||||||
// FIXME - check the item privacy
|
|
||||||
$private = false;
|
|
||||||
|
|
||||||
$sitelink = t('Please visit %s to view and/or reply to the conversation.');
|
$sitelink = t('Please visit %s to view and/or reply to the conversation.');
|
||||||
$tsitelink = sprintf( $sitelink, $siteurl );
|
$tsitelink = sprintf( $sitelink, $siteurl );
|
||||||
$hsitelink = sprintf( $sitelink, '<a href="' . $siteurl . '">' . $sitename . '</a>');
|
$hsitelink = sprintf( $sitelink, '<a href="' . $siteurl . '">' . $sitename . '</a>');
|
||||||
@ -455,6 +452,8 @@ function notification($params) {
|
|||||||
if(! $datarray['email_secure']) {
|
if(! $datarray['email_secure']) {
|
||||||
switch($params['type']) {
|
switch($params['type']) {
|
||||||
case NOTIFY_WALL:
|
case NOTIFY_WALL:
|
||||||
|
case NOTIFY_TAGSELF:
|
||||||
|
case NOTIFY_POKE:
|
||||||
case NOTIFY_COMMENT:
|
case NOTIFY_COMMENT:
|
||||||
if(! $private)
|
if(! $private)
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user