mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Fix
This commit is contained in:
@@ -497,10 +497,6 @@ async fn download_archive(
|
||||
.await?;
|
||||
|
||||
return Ok(());
|
||||
} else {
|
||||
bot
|
||||
.delete_message(message.chat.id, message.id)
|
||||
.await?;
|
||||
}
|
||||
|
||||
let downloaded_data = match download_file_by_link(
|
||||
@@ -523,6 +519,10 @@ async fn download_archive(
|
||||
},
|
||||
};
|
||||
|
||||
bot
|
||||
.delete_message(message.chat.id, message.id)
|
||||
.await?;
|
||||
|
||||
match _send_downloaded_file(
|
||||
&message,
|
||||
bot,
|
||||
|
||||
Reference in New Issue
Block a user