mirror of
https://github.com/YGGverse/Pulsar.git
synced 2026-03-31 17:55:37 +00:00
hide gemfeed dates
This commit is contained in:
parent
21028c2416
commit
7c47b94760
1 changed files with 10 additions and 0 deletions
|
|
@ -171,6 +171,15 @@ class Nex implements MessageComponentInterface
|
||||||
// Get channel items
|
// Get channel items
|
||||||
foreach ((array) $this->_database->getChannelItems($channel->id, 0, 20) as $channelItem)
|
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(
|
$lines[] = sprintf(
|
||||||
'=> /%d.gmi %s %s',
|
'=> /%d.gmi %s %s',
|
||||||
$channelItem->id,
|
$channelItem->id,
|
||||||
|
|
@ -183,6 +192,7 @@ class Nex implements MessageComponentInterface
|
||||||
$channelItem->title
|
$channelItem->title
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
*/
|
||||||
|
|
||||||
if ($channelItem->description)
|
if ($channelItem->description)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue