From 4ba68b56726c16c11595c3d887cc92c5992c1aba Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 7 May 2022 23:17:04 +0300 Subject: [PATCH] Fix bot description photo. --- td/telegram/ContactsManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/ContactsManager.cpp b/td/telegram/ContactsManager.cpp index 3056e0be5..d541046c1 100644 --- a/td/telegram/ContactsManager.cpp +++ b/td/telegram/ContactsManager.cpp @@ -10778,7 +10778,7 @@ void ContactsManager::on_get_user_full(tl_object_ptr &&u if (user_full->description != description || user_full->description_photo != description_photo || user_full->description_animation_file_id != description_animation_file_id) { user_full->description = std::move(description); - user_full->description_photo == std::move(description_photo); + user_full->description_photo = std::move(description_photo); user_full->description_animation_file_id = description_animation_file_id; user_full->is_changed = true; }