Minor fixes.

GitOrigin-RevId: 33b0f159e7003d7b9dce28033a7e90169a9421bc
This commit is contained in:
levlam 2018-07-17 14:27:24 +03:00
parent 5999b98fa7
commit 1aa94575e8
6 changed files with 5 additions and 5 deletions

View File

@ -987,7 +987,7 @@ passportDataError type:PassportDataType message:string source:PassportDataErrorS
passportAuthorizationForm id:int32 required_types:vector<PassportDataType> data:vector<PassportData> errors:vector<passportDataError> is_selfie_required:Bool privacy_policy_url:string = PassportAuthorizationForm;
//@description Contains encrypted Telegram Passport data credentials @data The encrypted credentials @hash The decrypted data hash @secret Secret for data decryption, encrypted with service's public key
//@description Contains encrypted Telegram Passport data credentials @data The encrypted credentials @hash The decrypted data hash @secret Secret for data decryption, encrypted with service's public key
encryptedCredentials data:bytes hash:bytes secret:bytes = EncryptedCredentials;

View File

@ -13,7 +13,6 @@
#include "td/telegram/Td.h"
#include "td/utils/logging.h"
#include "td/utils/misc.h"
#include "td/telegram/td_api.h"
#include "td/telegram/telegram_api.h"

View File

@ -15,12 +15,12 @@
#include "td/actor/PromiseFuture.h"
#include "td/utils/Container.h"
#include "td/utils/Status.h"
#include <atomic>
#include <mutex>
#include <unordered_map>
#include <unordered_set>
#include <utility>
namespace td {
@ -53,7 +53,7 @@ class LanguagePackManager : public NetQueryCallback {
};
struct Language {
std::mutex mutex_; // TODO RwMutex
std::mutex mutex_;
std::atomic<int32> version_{-1};
bool has_get_difference_query_ = false;
std::unordered_map<string, string> ordinary_strings_;

View File

@ -15158,7 +15158,6 @@ void MessagesManager::on_get_history_from_database(DialogId dialog_id, MessageId
CHECK(had_full_history || d->have_full_history)
<< had_full_history << " " << d->have_full_history << " " << next_message->message_id << " "
<< last_added_message_id << " " << d->first_database_message_id << " " << debug_last_database_message_id;
;
CHECK(next_message->message_id.get() <= d->last_database_message_id.get());
LOG(ERROR) << "Fix first database message id in " << dialog_id << " from " << d->first_database_message_id
<< " to " << next_message->message_id;

View File

@ -7,6 +7,7 @@
#include "td/telegram/net/NetQueryCreator.h"
#include "td/utils/Gzip.h"
#include "td/utils/logging.h"
namespace td {

View File

@ -7,6 +7,7 @@
#include "td/db/binlog/detail/BinlogEventsProcessor.h"
#include "td/utils/logging.h"
#include "td/utils/Status.h"
#include <algorithm>