mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
First working (and ugly) way for fixing raw updates being swallowed
This commit is contained in:
parent
adfba5ffdf
commit
f0d059da07
@ -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…
x
Reference in New Issue
Block a user