mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 09:35:11 +00:00
tag notifications for private posts contain obscured data - they should be blank
This commit is contained in:
parent
c61a0d9dab
commit
372a92533f
1 changed files with 1 additions and 1 deletions
|
@ -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].') ,
|
||||
|
|
Loading…
Reference in a new issue