Use "received" as tab for circles or groups when currently in a channel
This commit is contained in:
parent
371309e775
commit
e96bb4c5e6
1 changed files with 4 additions and 0 deletions
|
@ -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