mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-08 19:33:53 +01:00
fix compilation error
This commit is contained in:
parent
92ccb49216
commit
4d4970f450
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ impl Update {
|
|||
Some(&p.chat)
|
||||
}
|
||||
UpdateKind::CallbackQuery(q) => {
|
||||
Some(&q.message?.chat)
|
||||
Some(&q.message.as_ref()?.chat)
|
||||
}
|
||||
_ => None
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue