tag notifications for private posts contain obscured data - they should be blank
This commit is contained in:
parent
c61a0d9dab
commit
372a92533f
@ -60,6 +60,7 @@ function notification($params) {
|
|||||||
localize_item($i);
|
localize_item($i);
|
||||||
$title = $i['title'];
|
$title = $i['title'];
|
||||||
$body = $i['body'];
|
$body = $i['body'];
|
||||||
|
$private = $i['item_private'];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$title = $params['item']['title'];
|
$title = $params['item']['title'];
|
||||||
@ -196,7 +197,6 @@ function notification($params) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$subject = sprintf( t('[Red:Notify] %s tagged you') , $sender['xchan_name']);
|
$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);
|
$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].') ,
|
$epreamble = sprintf( t('%1$s [zrl=%2$s]tagged you[/zrl].') ,
|
||||||
|
Reference in New Issue
Block a user