Minor fixes.
GitOrigin-RevId: b75bac1586ed36b91b7c2ab64c386f94f18d8539
This commit is contained in:
parent
35e421a23d
commit
8681b76de2
@ -657,7 +657,7 @@ set(TDLIB_SOURCE
|
||||
td/telegram/SequenceDispatcher.h
|
||||
td/telegram/ServerMessageId.h
|
||||
td/telegram/SetWithPosition.h
|
||||
td/telegram/SpecialStickerSetType.cpp
|
||||
td/telegram/SpecialStickerSetType.h
|
||||
td/telegram/StateManager.h
|
||||
td/telegram/StickerSetId.h
|
||||
td/telegram/StickersManager.h
|
||||
|
@ -1093,7 +1093,7 @@ void ConfigManager::on_result(NetQueryPtr res) {
|
||||
auto r_config = fetch_result<telegram_api::help_getConfig>(std::move(res));
|
||||
if (r_config.is_error()) {
|
||||
if (!G()->close_flag()) {
|
||||
LOG(ERROR) << "getConfig failed: " << r_config.error();
|
||||
LOG(WARNING) << "Failed to get config: " << r_config.error();
|
||||
expire_time_ = Timestamp::in(60.0); // try again in a minute
|
||||
set_timeout_in(expire_time_.in());
|
||||
}
|
||||
|
@ -48,7 +48,6 @@
|
||||
|
||||
#include "td/utils/base64.h"
|
||||
#include "td/utils/buffer.h"
|
||||
#include "td/utils/port/Clocks.h"
|
||||
#include "td/utils/format.h"
|
||||
#include "td/utils/logging.h"
|
||||
#include "td/utils/misc.h"
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
#include "td/utils/logging.h"
|
||||
#include "td/utils/misc.h"
|
||||
#include "td/utils/Slice.h"
|
||||
|
||||
namespace td {
|
||||
|
||||
|
@ -3611,7 +3611,7 @@ std::pair<int32, vector<StickerSetId>> StickersManager::get_featured_sticker_set
|
||||
}
|
||||
|
||||
promise.set_value(Unit());
|
||||
return {total_count, Auto()};
|
||||
return {total_count, vector<StickerSetId>()};
|
||||
}
|
||||
|
||||
void StickersManager::on_old_featured_sticker_sets_invalidated() {
|
||||
|
@ -4361,7 +4361,7 @@ void Td::send_update(tl_object_ptr<td_api::Update> &&object) {
|
||||
}
|
||||
|
||||
callback_->on_result(0, std::move(object));
|
||||
} // namespace td
|
||||
}
|
||||
|
||||
void Td::send_result(uint64 id, tl_object_ptr<td_api::Object> object) {
|
||||
if (id == 0) {
|
||||
|
@ -4,7 +4,6 @@
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
|
||||
#include "td/telegram/files/FileManager.h"
|
||||
|
||||
#include "td/telegram/telegram_api.h"
|
||||
|
Loading…
Reference in New Issue
Block a user