1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 17:04:39 +01:00
This commit is contained in:
Daniil Gentili 2023-11-25 20:24:40 +01:00
parent 9ec2f619b7
commit 51f37eb527

View File

@ -137,7 +137,7 @@ final class StoriesEventHandler extends SimpleEventHandler
usort($stories, static fn ($a, $b) => $a['date'] <=> $b['date']);
$message = $message->reply("Total stories: ".count($stories));
foreach (array_chunk($stories, 50) as $sub) {
foreach (array_chunk($stories, 10) as $sub) {
$result = '';
foreach ($sub as $story) {
$cur = "- ID {$story['id']}, posted ".date(DATE_RFC850, $story['date']);