From: Michael Date: Sun, 17 Sep 2023 11:01:04 +0000 (+0000) Subject: Use "received" as tab for circles or groups when currently in a channel X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e96bb4c5e6ba3fa3c0ab89ee9bdfa60fe24164cb;p=friendica.git Use "received" as tab for circles or groups when currently in a channel --- 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;