mirror of
https://github.com/friendica/friendica
synced 2025-04-23 11:50:12 +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
|
@ -419,6 +419,12 @@ class Post
|
|||
}
|
||||
}
|
||||
|
||||
if (!empty($item['reshared'])) {
|
||||
$reshared = $item['reshared'];
|
||||
} else {
|
||||
$reshared = '';
|
||||
}
|
||||
|
||||
$tmp_item = [
|
||||
'template' => $this->getTemplate(),
|
||||
'type' => implode("", array_slice(explode("/", $item['verb']), -1)),
|
||||
|
@ -497,6 +503,7 @@ class Post
|
|||
'uriid' => $item['uri-id'],
|
||||
'return' => (DI::args()->getCommand()) ? bin2hex(DI::args()->getCommand()) : '',
|
||||
'direction' => $direction,
|
||||
'reshared' => $reshared,
|
||||
'delivery' => [
|
||||
'queue_count' => $item['delivery_queue_count'],
|
||||
'queue_done' => $item['delivery_queue_done'] + $item['delivery_queue_failed'], /// @todo Possibly display it separately in the future
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue