mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-02 05:24:51 +00:00
Don't process empty differences
This commit is contained in:
parent
42a2878842
commit
e397c4d181
1 changed files with 3 additions and 2 deletions
|
|
@ -651,8 +651,9 @@ class Client:
|
|||
)
|
||||
)
|
||||
|
||||
updates.users += diff.users
|
||||
updates.chats += diff.chats
|
||||
if not isinstance(diff, types.updates.ChannelDifferenceEmpty):
|
||||
updates.users += diff.users
|
||||
updates.chats += diff.chats
|
||||
|
||||
if channel_id and pts:
|
||||
if channel_id not in self.channels_pts:
|
||||
|
|
|
|||
Loading…
Reference in a new issue