mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Merge branch 'develop' into asyncio-dev
This commit is contained in:
commit
03927404bc
1 changed files with 3 additions and 0 deletions
|
|
@ -55,6 +55,9 @@ class ChatPhoto(Object):
|
|||
if not isinstance(chat_photo, (types.UserProfilePhoto, types.ChatPhoto)):
|
||||
return None
|
||||
|
||||
if not peer_access_hash:
|
||||
return None
|
||||
|
||||
photo_id = getattr(chat_photo, "photo_id", 0)
|
||||
loc_small = chat_photo.photo_small
|
||||
loc_big = chat_photo.photo_big
|
||||
|
|
|
|||
Loading…
Reference in a new issue