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:
@@ -384,7 +384,7 @@ async fn get_download_archive_keyboard_handler(
|
|||||||
let keyboard = InlineKeyboardMarkup {
|
let keyboard = InlineKeyboardMarkup {
|
||||||
inline_keyboard:
|
inline_keyboard:
|
||||||
available_types.iter()
|
available_types.iter()
|
||||||
.filter(|file_type| !file_type.contains("fb2"))
|
.filter(|file_type| !file_type.contains("zip"))
|
||||||
.map(|file_type| {
|
.map(|file_type| {
|
||||||
let callback_data: String = match command {
|
let callback_data: String = match command {
|
||||||
DownloadArchiveCommand::Sequence { id } => DownloadArchiveQueryData::Sequence {
|
DownloadArchiveCommand::Sequence { id } => DownloadArchiveQueryData::Sequence {
|
||||||
|
|||||||
Reference in New Issue
Block a user