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.'));
|
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'])) {
|
if (!empty($request['star'])) {
|
||||||
$this->selectedTab = TimelineEntity::STAR;
|
$this->selectedTab = TimelineEntity::STAR;
|
||||||
$this->star = true;
|
$this->star = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user