mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-01 06:45:39 +00:00
Ignore PhotoPathSize for now
This commit is contained in:
@@ -84,7 +84,7 @@ class Photo(Object):
|
||||
if isinstance(photo, raw.types.Photo):
|
||||
big = photo.sizes[-1]
|
||||
|
||||
if isinstance(big, raw.types.PhotoStrippedSize):
|
||||
if isinstance(big, (raw.types.PhotoStrippedSize, raw.types.PhotoPathSize)):
|
||||
return None
|
||||
|
||||
if isinstance(big, raw.types.PhotoSizeProgressive):
|
||||
|
Reference in New Issue
Block a user