Only change order for updates for new posts

This commit is contained in:
Michael 2023-09-17 05:43:36 +00:00
parent bb4ec093ad
commit 02084331e3

View File

@ -350,7 +350,7 @@ class Network extends Timeline
// Upon force (updates in the background) and order by last comment we order by receive date, // Upon force (updates in the background) and order by last comment we order by receive date,
// since otherwise the feed will optically jump, when some already visible thread has been updated. // since otherwise the feed will optically jump, when some already visible thread has been updated.
if ($this->force && ($this->selectedTab == TimelineEntity::COMMENTED)) { if ($this->force && ($this->selectedTab == TimelineEntity::COMMENTED) && !empty($request['first_commented'])) {
$this->order = 'received'; $this->order = 'received';
} }