mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-26 09:07:43 +01:00
Pass check result into handle_update
Missed during merge
This commit is contained in:
parent
e75615cbf6
commit
5252a493cb
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ class Dispatcher(object):
|
|||
for handler in self.handlers[group]:
|
||||
check = handler.check_update(update)
|
||||
if check is not None and check is not False:
|
||||
handler.handle_update(update, self)
|
||||
handler.handle_update(update, self, check)
|
||||
if self.persistence:
|
||||
if self.persistence.store_chat_data and update.effective_chat.id:
|
||||
chat_id = update.effective_chat.id
|
||||
|
|
Loading…
Reference in a new issue