mirror of
https://github.com/friendica/friendica
synced 2025-04-23 00:30:11 +00:00
Issue 9135: Display only reshared posts at the top
This commit is contained in:
parent
fb7f7435c0
commit
42dcd6646e
4 changed files with 10 additions and 3 deletions
|
@ -758,6 +758,7 @@ function conversation_fetch_comments($thread_items, $pinned) {
|
|||
if (!empty($direction)) {
|
||||
foreach ($parentlines as $line) {
|
||||
$comments[$line]['direction'] = $direction;
|
||||
$comments[$line]['reshared'] = DI::l10n()->t('%s reshared this.', $actor['name']);
|
||||
if (!empty($actor) && DI::pConfig()->get(local_user(), 'system', 'display_resharer') ) {
|
||||
$comments[$line]['owner-link'] = $actor['link'];
|
||||
$comments[$line]['owner-avatar'] = $actor['avatar'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue