aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-21 00:56:24 -0700
committerFriendika <info@friendika.com>2011-06-21 00:56:24 -0700
commit7f387d93ae9f45a9feb7488f3b34bf2de90f328e (patch)
tree75007f2802924f2478ba23b3d91cb58e3b92ffa9 /include/conversation.php
parent2b11ff65dcee117111b2f5bc67b66879672c05b0 (diff)
downloadvolse-hubzilla-7f387d93ae9f45a9feb7488f3b34bf2de90f328e.tar.gz
volse-hubzilla-7f387d93ae9f45a9feb7488f3b34bf2de90f328e.tar.bz2
volse-hubzilla-7f387d93ae9f45a9feb7488f3b34bf2de90f328e.zip
only show app on top-level or standalone posts
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 1fd9c31ec..ff0a7612b 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -464,7 +464,7 @@ function conversation(&$a, $items, $mode, $update) {
'$sparkle' => $sparkle,
'$title' => $item['title'],
'$body' => $body,
- '$ago' => (($item['app']) ? sprintf( t('%s from %s'),relative_date($item['created']),$item['app']) : relative_date($item['created'])),
+ '$ago' => ((($item['app']) && ($item['id'] == $item['parent'])) ? sprintf( t('%s from %s'),relative_date($item['created']),$item['app']) : relative_date($item['created'])),
'$lock' => $lock,
'$location' => $location,
'$indent' => $indent,