Pass check result into handle_update

Missed during merge
This commit is contained in:
Jasmin Bom 2018-09-21 09:20:35 +02:00
parent e75615cbf6
commit 5252a493cb

View file

@ -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