Minor fixes.
GitOrigin-RevId: 33b0f159e7003d7b9dce28033a7e90169a9421bc
This commit is contained in:
parent
5999b98fa7
commit
1aa94575e8
@ -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;
|
||||
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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_;
|
||||
|
@ -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;
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include "td/telegram/net/NetQueryCreator.h"
|
||||
|
||||
#include "td/utils/Gzip.h"
|
||||
#include "td/utils/logging.h"
|
||||
|
||||
namespace td {
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include "td/db/binlog/detail/BinlogEventsProcessor.h"
|
||||
|
||||
#include "td/utils/logging.h"
|
||||
#include "td/utils/Status.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user