From b5788d0a4ede0ed320ef0d885a72fce7a3c04eda Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 5 May 2024 00:28:07 +0300 Subject: [PATCH] add description and content lines --- src/Controller/Server/Nex.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Controller/Server/Nex.php b/src/Controller/Server/Nex.php index 8a14f3c..11afb37 100644 --- a/src/Controller/Server/Nex.php +++ b/src/Controller/Server/Nex.php @@ -174,6 +174,20 @@ class Nex implements MessageComponentInterface $channelItem->title ) ); + + if ($channelItem->description) + { + $lines[] = \Yggverse\Pulsar\Model\Filter::text( + $channelItem->description + ) . PHP_EOL; + } + + if ($channelItem->content) + { + $lines[] = \Yggverse\Pulsar\Model\Filter::text( + $channelItem->content + ) . PHP_EOL; + } } // Build response