]> git.mxchange.org Git - friendica.git/commitdiff
Only change order for updates for new posts
authorMichael <heluecht@pirati.ca>
Sun, 17 Sep 2023 05:43:36 +0000 (05:43 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 17 Sep 2023 05:43:36 +0000 (05:43 +0000)
src/Module/Conversation/Network.php

index 3850fccf8681587aa05fc2f9e4e91d39aad8d77b..63da5717ad111cdeb0936d2a5635b3dfb2d88944 100644 (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,
                // 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';
                }