Minor fixes.

GitOrigin-RevId: 84ddb085a4f086b5f4802620cb29a1e3a51d936f
This commit is contained in:
levlam 2018-04-28 11:56:10 +03:00
parent f8b4968f1f
commit 19ba540336
7 changed files with 7 additions and 5 deletions

View File

@ -462,7 +462,6 @@ void PasswordManager::do_get_state(Promise<PasswordState> promise) {
(password->flags_ & telegram_api::account_password::HAS_RECOVERY_MASK) != 0; (password->flags_ & telegram_api::account_password::HAS_RECOVERY_MASK) != 0;
state.has_secure_values = state.has_secure_values =
(password->flags_ & telegram_api::account_password::HAS_SECURE_VALUES_MASK) != 0; (password->flags_ & telegram_api::account_password::HAS_SECURE_VALUES_MASK) != 0;
;
state.unconfirmed_recovery_email_address_pattern = password->email_unconfirmed_pattern_; state.unconfirmed_recovery_email_address_pattern = password->email_unconfirmed_pattern_;
} else { } else {
UNREACHABLE(); UNREACHABLE();

View File

@ -7,6 +7,7 @@
#include "td/telegram/SecureManager.h" #include "td/telegram/SecureManager.h"
#include "td/telegram/ContactsManager.h" #include "td/telegram/ContactsManager.h"
#include "td/telegram/DialogId.h"
#include "td/telegram/files/FileManager.h" #include "td/telegram/files/FileManager.h"
#include "td/telegram/Global.h" #include "td/telegram/Global.h"
#include "td/telegram/misc.h" #include "td/telegram/misc.h"
@ -15,9 +16,10 @@
#include "td/telegram/Td.h" #include "td/telegram/Td.h"
#include "td/utils/buffer.h" #include "td/utils/buffer.h"
#include "td/utils/format.h"
#include "td/utils/logging.h" #include "td/utils/logging.h"
#include "td/utils/misc.h" #include "td/utils/misc.h"
#include "td/utils/optional.h"
#include "td/utils/Slice.h"
#include <mutex> #include <mutex>

View File

@ -8,8 +8,6 @@
#include "td/actor/actor.h" #include "td/actor/actor.h"
#include "td/telegram/files/FileId.h"
#include "td/telegram/files/FileManager.h"
#include "td/telegram/net/NetQuery.h" #include "td/telegram/net/NetQuery.h"
#include "td/telegram/SecureValue.h" #include "td/telegram/SecureValue.h"
#include "td/telegram/UserId.h" #include "td/telegram/UserId.h"
@ -18,7 +16,6 @@
#include "td/telegram/telegram_api.h" #include "td/telegram/telegram_api.h"
#include "td/utils/Container.h" #include "td/utils/Container.h"
#include "td/utils/optional.h"
#include "td/utils/Status.h" #include "td/utils/Status.h"
#include <map> #include <map>

View File

@ -23,6 +23,7 @@
#include "td/utils/logging.h" #include "td/utils/logging.h"
#include "td/utils/misc.h" #include "td/utils/misc.h"
#include "td/utils/overloaded.h" #include "td/utils/overloaded.h"
#include "td/utils/utf8.h"
#include <limits> #include <limits>

View File

@ -16,6 +16,7 @@
#include "td/utils/optional.h" #include "td/utils/optional.h"
#include "td/utils/Slice.h" #include "td/utils/Slice.h"
#include "td/utils/Status.h" #include "td/utils/Status.h"
#include "td/utils/StringBuilder.h"
#include <utility> #include <utility>

View File

@ -13,6 +13,7 @@
#include "td/utils/buffer.h" #include "td/utils/buffer.h"
#include "td/utils/HttpUrl.h" #include "td/utils/HttpUrl.h"
#include "td/utils/logging.h" #include "td/utils/logging.h"
#include "td/utils/misc.h"
#include "td/utils/port/IPAddress.h" #include "td/utils/port/IPAddress.h"
#include "td/utils/port/SocketFd.h" #include "td/utils/port/SocketFd.h"
#include "td/utils/Slice.h" #include "td/utils/Slice.h"

View File

@ -8,6 +8,7 @@
#include "td/utils/Status.h" #include "td/utils/Status.h"
#include <type_traits>
#include <utility> #include <utility>
namespace td { namespace td {