only show app on top-level or standalone posts
This commit is contained in:
parent
2b11ff65dc
commit
7f387d93ae
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue