mirror of
https://github.com/friendica/friendica
synced 2025-04-24 04:30:11 +00:00
API: Access channels and groups via lists
This commit is contained in:
parent
1cabf53bf5
commit
984a972e72
12 changed files with 160 additions and 41 deletions
|
@ -88,7 +88,7 @@ class Network extends NetworkModule
|
|||
$this->itemsPerPage = 100;
|
||||
|
||||
if ($this->channel->isTimeline($this->selectedTab) || $this->userDefinedChannel->isTimeline($this->selectedTab, $this->session->getLocalUserId())) {
|
||||
$items = $this->getChannelItems($request);
|
||||
$items = $this->getChannelItems($request, $this->session->getLocalUserId());
|
||||
} elseif ($this->community->isTimeline($this->selectedTab)) {
|
||||
$items = $this->getCommunityItems();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue