mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 17:04:39 +01:00
fix
This commit is contained in:
parent
9ec2f619b7
commit
51f37eb527
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user