From 23e7d6c75d24938b181cdc797c6de975811921e5 Mon Sep 17 00:00:00 2001 From: Lluis Date: Tue, 26 Mar 2024 17:28:57 +0100 Subject: [PATCH] send up to 10 files since it's the limit --- handlers/stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/stream.js b/handlers/stream.js index a2cd42d..5bbbd0b 100644 --- a/handlers/stream.js +++ b/handlers/stream.js @@ -93,7 +93,7 @@ class Stream { async _sendStreamScreenshots(telegramBot, streamId) { const screenshots = await ScreenshotService.getScreenshots(streamId) if (screenshots && screenshots.length > 2) { - const chunkSize = 15 + const chunkSize = 10 let index = 0 for (let i = 0; i < screenshots.length; i += chunkSize) { index++