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