mirror of
https://github.com/friendica/friendica
synced 2024-11-13 07:13:44 +01:00
Use "received" as tab for circles or groups when currently in a channel
This commit is contained in:
parent
371309e775
commit
e96bb4c5e6
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue