aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/ContactsManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'td/telegram/ContactsManager.cpp')
-rw-r--r--td/telegram/ContactsManager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/td/telegram/ContactsManager.cpp b/td/telegram/ContactsManager.cpp
index d03a52c71..331464044 100644
--- a/td/telegram/ContactsManager.cpp
+++ b/td/telegram/ContactsManager.cpp
@@ -8724,7 +8724,6 @@ ContactsManager::User *ContactsManager::get_user_force(UserId user_id) {
telegram_api::object_ptr<telegram_api::userProfilePhoto> profile_photo;
if (!G()->is_test_dc() && profile_photo_id != 0) {
- flags |= telegram_api::user::PHOTO_MASK;
profile_photo = telegram_api::make_object<telegram_api::userProfilePhoto>(0, false /*ignored*/, profile_photo_id,
BufferSlice(), profile_photo_dc_id);
}