From e96bb4c5e6ba3fa3c0ab89ee9bdfa60fe24164cb Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 17 Sep 2023 11:01:04 +0000 Subject: [PATCH] Use "received" as tab for circles or groups when currently in a channel --- src/Module/Conversation/Network.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Module/Conversation/Network.php b/src/Module/Conversation/Network.php index dcaeac8d2d..a0a635ad6a 100644 --- a/src/Module/Conversation/Network.php +++ b/src/Module/Conversation/Network.php @@ -317,6 +317,10 @@ class Network extends Timeline throw new HTTPException\BadRequestException($this->l10n->t('Network feed not available.')); } + if (($this->network || $this->circleId || $this->groupContactId) && ($this->timeline->isChannel($this->selectedTab) || $this->timeline->isCommunity($this->selectedTab))) { + $this->selectedTab = TimelineEntity::RECEIVED; + } + if (!empty($request['star'])) { $this->selectedTab = TimelineEntity::STAR; $this->star = true;