From 372a92533f9dc73ffea2d32c981fa62c86488e02 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 4 Nov 2013 16:53:42 -0800 Subject: tag notifications for private posts contain obscured data - they should be blank --- include/enotify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/enotify.php') diff --git a/include/enotify.php b/include/enotify.php index 147023f41..35a554f60 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -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].') , -- cgit v1.2.3