Some more changes after review

This commit is contained in:
Michael 2023-10-05 03:17:55 +00:00
parent 73e9190ce7
commit 5d6e02bef3

View file

@ -330,7 +330,7 @@ class Display extends BaseSettings
$timelines = [];
foreach ($this->timeline->getNetworkFeeds('') as $channel) {
$timelines[$channel->code] = $channel;
$timelines[] = $channel;
}
if ($only_network) {
@ -338,11 +338,11 @@ class Display extends BaseSettings
}
foreach ($this->timeline->getChannelsForUser($uid) as $channel) {
$timelines[$channel->code] = $channel;
$timelines[] = $channel;
}
foreach ($this->timeline->getCommunities(true) as $community) {
$timelines[$community->code] = $community;
$timelines[] = $community;
}
return new Timelines($timelines);