Fix sending books by author

This commit is contained in:
2022-09-18 15:13:43 +03:00
parent 06d8c2cf60
commit 3c551afe43

View File

@@ -129,7 +129,7 @@ where
}; };
let chat_id = message.chat.id; let chat_id = message.chat.id;
let user_id = message.reply_to_message().map(|message| message.from().map(|from| from.id)).unwrap_or(None); let user_id = message.from().map(|from| from.id);
let user_id = match user_id { let user_id = match user_id {
Some(v) => v, Some(v) => v,