Don't process empty differences
This commit is contained in:
parent
42a2878842
commit
e397c4d181
@ -651,8 +651,9 @@ class Client:
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
updates.users += diff.users
|
if not isinstance(diff, types.updates.ChannelDifferenceEmpty):
|
||||||
updates.chats += diff.chats
|
updates.users += diff.users
|
||||||
|
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 New Issue
Block a user