aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/Photo.h
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2022-12-22 22:38:30 +0300
committerlevlam <levlam@telegram.org>2022-12-22 22:38:30 +0300
commita80794ffebf62b74c0b6bc25cfd85f6bb20ef5b2 (patch)
tree67baf8aa5e616d58d6e5b07f851bcf83083dbb42 /td/telegram/Photo.h
parent252df2ff4363ac8b497b179e00e895eb3e577df8 (diff)
Explicitly call drop_user_full_photos.
Diffstat (limited to 'td/telegram/Photo.h')
-rw-r--r--td/telegram/Photo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/td/telegram/Photo.h b/td/telegram/Photo.h
index c7604e323..7aa7d561d 100644
--- a/td/telegram/Photo.h
+++ b/td/telegram/Photo.h
@@ -65,6 +65,8 @@ struct Photo {
}
};
+int64 get_profile_photo_id(const tl_object_ptr<telegram_api::UserProfilePhoto> &profile_photo_ptr);
+
ProfilePhoto get_profile_photo(FileManager *file_manager, UserId user_id, int64 user_access_hash,
tl_object_ptr<telegram_api::UserProfilePhoto> &&profile_photo_ptr);
tl_object_ptr<td_api::profilePhoto> get_profile_photo_object(FileManager *file_manager,