hide gemfeed dates

This commit is contained in:
yggverse 2024-05-05 03:11:10 +03:00
parent 21028c2416
commit 7c47b94760

View file

@ -171,6 +171,15 @@ class Nex implements MessageComponentInterface
// Get channel items
foreach ((array) $this->_database->getChannelItems($channel->id, 0, 20) as $channelItem)
{
$lines[] = sprintf(
'=> /%d.gmi %s',
$channelItem->id,
\Yggverse\Pulsar\Model\Filter::string(
$channelItem->title
)
);
/* @TODO make gemfeed date optional
$lines[] = sprintf(
'=> /%d.gmi %s %s',
$channelItem->id,
@ -183,6 +192,7 @@ class Nex implements MessageComponentInterface
$channelItem->title
)
);
*/
if ($channelItem->description)
{