diff --git a/pyrogram/methods/users/get_profile_photos.py b/pyrogram/methods/users/get_profile_photos.py index 8a222564..6ccfb8f8 100644 --- a/pyrogram/methods/users/get_profile_photos.py +++ b/pyrogram/methods/users/get_profile_photos.py @@ -100,7 +100,10 @@ class GetProfilePhotos(Scaffold): else: photos = extra else: - photos = [current] + if current: + photos = [current] + else: + photos = [] return types.List(photos[offset:limit]) else: