API: Access channels and groups via lists

This commit is contained in:
Michael 2024-04-19 21:09:23 +00:00
parent 1cabf53bf5
commit 984a972e72
12 changed files with 160 additions and 41 deletions

View file

@ -225,7 +225,7 @@ class Network extends Timeline
try {
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 {