mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Don't process empty messages
This commit is contained in:
parent
3419b0b98e
commit
cc9aeb290a
1 changed files with 3 additions and 0 deletions
|
|
@ -138,6 +138,9 @@ class Dispatcher:
|
|||
self.dispatch(update, users=users, chats=chats, is_raw=True)
|
||||
|
||||
if isinstance(update, Dispatcher.MESSAGE_UPDATES):
|
||||
if isinstance(update.message, types.MessageEmpty):
|
||||
continue
|
||||
|
||||
message = utils.parse_messages(
|
||||
self.client,
|
||||
update.message,
|
||||
|
|
|
|||
Loading…
Reference in a new issue