Further improvements to the automatic update process

This commit is contained in:
Michael 2023-09-17 08:17:31 +00:00
parent e81c911b49
commit f1fa1f0b62
5 changed files with 9 additions and 6 deletions

View file

@ -348,9 +348,9 @@ class Network extends Timeline
$this->order = 'commented';
}
// Upon force (updates in the background) and order by last comment we order by receive date,
// Upon 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.
if ($this->force && ($this->selectedTab == TimelineEntity::COMMENTED) && !empty($request['first_commented'])) {
if ($this->update && ($this->selectedTab == TimelineEntity::COMMENTED)) {
$this->order = 'received';
}