mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 14:45:36 +01:00
Fix
This commit is contained in:
@@ -102,7 +102,7 @@ impl BookWithRemote {
|
|||||||
let mut author_parts_len = 3;
|
let mut author_parts_len = 3;
|
||||||
|
|
||||||
for author_caption in author_captions {
|
for author_caption in author_captions {
|
||||||
if caption_title.len() + author_parts_len + author_caption.len() < 1024 {
|
if caption_title.len() + author_parts_len + author_caption.len() < 1000 {
|
||||||
author_parts_len = author_caption.len() + 1;
|
author_parts_len = author_caption.len() + 1;
|
||||||
author_parts.push(author_caption);
|
author_parts.push(author_caption);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user