mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:50:11 +00:00
Show network elements in the channel widget
This commit is contained in:
parent
00eb6b01ff
commit
5056c95d60
3 changed files with 10 additions and 1 deletions
|
@ -560,6 +560,10 @@ class Widget
|
|||
{
|
||||
$channels = [];
|
||||
|
||||
foreach (DI::TimelineFactory()->getNetworkFeeds('') as $channel) {
|
||||
$channels[] = ['ref' => $channel->code, 'name' => $channel->label];
|
||||
}
|
||||
|
||||
foreach (DI::TimelineFactory()->getChannelsForUser($uid) as $channel) {
|
||||
$channels[] = ['ref' => $channel->code, 'name' => $channel->label];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue