diff --git a/td/telegram/Td.cpp b/td/telegram/Td.cpp index 0694c8886..1d7aba6b9 100644 --- a/td/telegram/Td.cpp +++ b/td/telegram/Td.cpp @@ -3378,6 +3378,8 @@ void Td::request(uint64 id, tl_object_ptr function) { return send_result(id, get_fake_authorization_state_object()); case td_api::getCurrentState::ID: { vector> updates; + updates.push_back(td_api::make_object( + "version", td_api::make_object(TDLIB_VERSION))); updates.push_back(td_api::make_object(get_fake_authorization_state_object())); // send response synchronously to prevent "Request aborted" return send_result(id, td_api::make_object(std::move(updates)));