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