aboutsummaryrefslogtreecommitdiffstats
path: root/include/notify.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-13 19:32:59 -0800
committerfriendica <info@friendica.com>2012-11-13 19:32:59 -0800
commitaa88165383b14c35114549334567f362e9c83e54 (patch)
tree4f5eae97b6c1df5eab3a0b6ff198c539981839c0 /include/notify.php
parent4af6d77de3e282002682c28b2709b217b4ae9306 (diff)
downloadvolse-hubzilla-aa88165383b14c35114549334567f362e9c83e54.tar.gz
volse-hubzilla-aa88165383b14c35114549334567f362e9c83e54.tar.bz2
volse-hubzilla-aa88165383b14c35114549334567f362e9c83e54.zip
mood mostly working
Diffstat (limited to 'include/notify.php')
-rw-r--r--include/notify.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/notify.php b/include/notify.php
index 468c31558..a551444ee 100644
--- a/include/notify.php
+++ b/include/notify.php
@@ -13,17 +13,17 @@ return array();
// Call localize_item with the "brief" flag to get a one line status for activities.
// This should set $item['localized'] to indicate we have a brief summary.
- localize_item($item,true);
+ localize_item($item);
// FIXME - we may need the parent
- if(! $item['localized']) {
+ if(! $item['localize']) {
$itemem_text = (($item['item_flags'] & ITEM_THREAD_TOP)
? sprintf( t("%s created a new post"), $item['author']['xchan_name'])
: sprintf( t("%s commented on %s's post"), $item['author']['xchan_name'], $item['pname']));
}
else
- $itemem_text = $item['body'];
+ $itemem_text = $item['localize'];
// convert this logic into a json array just like the system notifications