diff --git a/td/telegram/UpdatesManager.cpp b/td/telegram/UpdatesManager.cpp index 181976ed6..e860f6463 100644 --- a/td/telegram/UpdatesManager.cpp +++ b/td/telegram/UpdatesManager.cpp @@ -4479,12 +4479,13 @@ void UpdatesManager::on_update(tl_object_ptr u promise.set_value(Unit()); } -// unsupported updates - void UpdatesManager::on_update(tl_object_ptr update, Promise &&promise) { + td_->quick_reply_manager_->reload_quick_reply_shortcuts(); promise.set_value(Unit()); } +// unsupported updates + void UpdatesManager::on_update(tl_object_ptr update, Promise &&promise) { promise.set_value(Unit()); } diff --git a/td/telegram/UpdatesManager.h b/td/telegram/UpdatesManager.h index 57355b189..0f525133b 100644 --- a/td/telegram/UpdatesManager.h +++ b/td/telegram/UpdatesManager.h @@ -654,10 +654,10 @@ class UpdatesManager final : public Actor { void on_update(tl_object_ptr update, Promise &&promise); - // unsupported updates - void on_update(tl_object_ptr update, Promise &&promise); + // unsupported updates + void on_update(tl_object_ptr update, Promise &&promise); void on_update(tl_object_ptr update, Promise &&promise);