mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-22 17:44:22 +00:00
Hide the entered inline query from logs
For privacy reasons.
This commit is contained in:
parent
5cdc617ee7
commit
26257ff2a3
1 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,7 @@ pub fn inline_query_handler(
|
|||
engine: CardSearchEngine,
|
||||
) -> Handler<'static, DependencyMap, ResponseResult<()>, DpHandlerDescription> {
|
||||
Update::filter_inline_query().chain(dptree::endpoint(move |query: InlineQuery, bot: Bot| {
|
||||
info!("Handling inline query: `{}`", &query.query);
|
||||
info!("Handling inline query...");
|
||||
|
||||
// It's not a real loop, it's just to make the code flow more tolerable.
|
||||
let payload: AnswerInlineQuery = loop {
|
||||
|
@ -77,7 +77,6 @@ pub fn inline_query_handler(
|
|||
};
|
||||
}
|
||||
|
||||
debug!("Found {} cards.", &len);
|
||||
break AnswerInlineQuery {
|
||||
inline_query_id: query.id.clone(),
|
||||
results: results
|
||||
|
|
Loading…
Reference in a new issue