diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index f8bc4e4d..89bab694 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -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: