Skip to content

Commit

Permalink
send up to 10 files since it's the limit
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed Mar 26, 2024
1 parent 588f105 commit 23e7d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down

0 comments on commit 23e7d6c

Please sign in to comment.