Don't process empty differences

This commit is contained in:
Dan 2018-03-26 13:34:54 +02:00
parent 42a2878842
commit e397c4d181

View File

@ -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: