aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-04 16:53:42 -0800
committerfriendica <info@friendica.com>2013-11-04 16:53:42 -0800
commit372a92533f9dc73ffea2d32c981fa62c86488e02 (patch)
tree15c5ef86d68eeaa3c74e00a737c36d678d4b84ba
parentc61a0d9dabfa7c615e33c721cbf57582939b157b (diff)
downloadvolse-hubzilla-372a92533f9dc73ffea2d32c981fa62c86488e02.tar.gz
volse-hubzilla-372a92533f9dc73ffea2d32c981fa62c86488e02.tar.bz2
volse-hubzilla-372a92533f9dc73ffea2d32c981fa62c86488e02.zip
tag notifications for private posts contain obscured data - they should be blank
-rw-r--r--include/enotify.php2
1 files changed, 1 insertions, 1 deletions
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].') ,