Browse Source

add description and content lines

main
yggverse 5 months ago
parent
commit
b5788d0a4e
  1. 14
      src/Controller/Server/Nex.php

14
src/Controller/Server/Nex.php

@ -174,6 +174,20 @@ class Nex implements MessageComponentInterface @@ -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

Loading…
Cancel
Save