tag notifications for private posts contain obscured data - they should be blank

This commit is contained in:
friendica 2013-11-04 16:53:42 -08:00
parent c61a0d9dab
commit 372a92533f

View file

@ -60,6 +60,7 @@ function notification($params) {
localize_item($i);
$title = $i['title'];
$body = $i['body'];
$private = $i['item_private'];
}
else {
$title = $params['item']['title'];
@ -196,7 +197,6 @@ function notification($params) {
return;
}
$subject = sprintf( t('[Red:Notify] %s tagged you') , $sender['xchan_name']);
$preamble = sprintf( t('%1$s tagged you at %2$s') , $sender['xchan_name'], $sitename);
$epreamble = sprintf( t('%1$s [zrl=%2$s]tagged you[/zrl].') ,