diff --git a/td/telegram/AnimationsManager.cpp b/td/telegram/AnimationsManager.cpp index b8320ea24..66107372b 100644 --- a/td/telegram/AnimationsManager.cpp +++ b/td/telegram/AnimationsManager.cpp @@ -665,14 +665,14 @@ void AnimationsManager::remove_saved_animation(const tl_object_ptr AnimationsManager::get_update_saved_animatoions_object() const { +td_api::object_ptr AnimationsManager::get_update_saved_animations_object() const { return td_api::make_object( transform(saved_animation_ids_, [](FileId animation_id) { return animation_id.get(); })); } void AnimationsManager::send_update_saved_animations(bool from_database) { if (are_saved_animations_loaded_) { - send_closure(G()->td(), &Td::send_update, get_update_saved_animatoions_object()); + send_closure(G()->td(), &Td::send_update, get_update_saved_animations_object()); if (!from_database) { save_saved_animations_to_database(); @@ -700,7 +700,7 @@ void AnimationsManager::get_current_state(vector &&saved_animation_ids, bool from_database = false); - td_api::object_ptr get_update_saved_animatoions_object() const; + td_api::object_ptr get_update_saved_animations_object() const; void send_update_saved_animations(bool from_database = false);