mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 14:24:51 +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:
parent
12c61fb431
commit
b79bd1ea83
1 changed files with 5 additions and 5 deletions
|
|
@ -818,11 +818,11 @@ class Client(Methods, BaseClient):
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
except ChannelPrivate:
|
except ChannelPrivate:
|
||||||
continue
|
pass
|
||||||
|
else:
|
||||||
if not isinstance(diff, types.updates.ChannelDifferenceEmpty):
|
if not isinstance(diff, types.updates.ChannelDifferenceEmpty):
|
||||||
updates.users += diff.users
|
updates.users += diff.users
|
||||||
updates.chats += diff.chats
|
updates.chats += diff.chats
|
||||||
|
|
||||||
if channel_id and pts:
|
if channel_id and pts:
|
||||||
if channel_id not in self.channels_pts:
|
if channel_id not in self.channels_pts:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue