Update downloading

This commit is contained in:
2023-01-08 19:40:14 +01:00
parent e29446341f
commit 785c313f36

View File

@@ -79,11 +79,13 @@ async fn send_cached_message(
match get_cached_message(&download_data).await { match get_cached_message(&download_data).await {
Ok(v) => match _send_cached(&message, &bot, v).await { Ok(v) => match _send_cached(&message, &bot, v).await {
Ok(v_2) => Ok(v_2), Ok(v_2) => return Ok(v_2),
Err(err) => Err(err), Err(err) => log::warn!("{:?}", err),
}, },
Err(err) => Err(err), Err(err) => log::warn!("{:?}", err),
} };
send_with_download_from_channel(message, bot, download_data).await
} }
async fn _send_downloaded_file( async fn _send_downloaded_file(