mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 07:54:52 +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,6 +651,7 @@ class Client:
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not isinstance(diff, types.updates.ChannelDifferenceEmpty):
|
||||||
updates.users += diff.users
|
updates.users += diff.users
|
||||||
updates.chats += diff.chats
|
updates.chats += diff.chats
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue