Fix attach_menu_enabled updating.

This commit is contained in:
levlam 2023-06-06 14:34:07 +03:00
parent 771771a2c7
commit 2aaf0f5290

View File

@ -10247,7 +10247,6 @@ void ContactsManager::on_get_user(tl_object_ptr<telegram_api::User> &&user_ptr,
u->inline_query_placeholder = std::move(inline_query_placeholder);
u->need_location_bot = need_location_bot;
u->can_be_added_to_attach_menu = can_be_added_to_attach_menu;
u->attach_menu_enabled = attach_menu_enabled;
LOG(DEBUG) << "Info has changed for " << user_id;
u->is_changed = true;