mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
First working (and ugly) way for fixing raw updates being swallowed
This commit is contained in:
parent
adfba5ffdf
commit
f0d059da07
1 changed files with 5 additions and 4 deletions
|
|
@ -128,10 +128,11 @@ class Dispatcher:
|
|||
|
||||
parser = self.update_parsers.get(type(update), None)
|
||||
|
||||
if parser is None:
|
||||
continue
|
||||
|
||||
parsed_update, handler_type = parser(update, users, chats)
|
||||
parsed_update, handler_type = (
|
||||
parser(update, users, chats)
|
||||
if parser
|
||||
else (None, type)
|
||||
)
|
||||
|
||||
for group in self.groups.values():
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue