2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 05:18:10 +00:00

Don't swallow left_chat_member updates

Even though they are only relevant for supergroups with <50 members
This commit is contained in:
Dan 2018-10-01 09:45:32 +02:00
parent 12c61fb431
commit b79bd1ea83

View File

@ -818,8 +818,8 @@ class Client(Methods, BaseClient):
)
)
except ChannelPrivate:
continue
pass
else:
if not isinstance(diff, types.updates.ChannelDifferenceEmpty):
updates.users += diff.users
updates.chats += diff.chats