Improve some mixed-case spelling.
This commit is contained in:
parent
45ff12ca49
commit
052d5e120b
@ -1682,7 +1682,7 @@ void InlineQueriesManager::on_get_inline_query_results(DialogId dialog_id, UserI
|
|||||||
article->hide_url_ = true;
|
article->hide_url_ = true;
|
||||||
} else {
|
} else {
|
||||||
LOG_IF(ERROR, result->url_ != article->url_)
|
LOG_IF(ERROR, result->url_ != article->url_)
|
||||||
<< "Url has changed from " << article->url_ << " to " << result->url_;
|
<< "URL has changed from " << article->url_ << " to " << result->url_;
|
||||||
article->hide_url_ = false;
|
article->hide_url_ = false;
|
||||||
}
|
}
|
||||||
article->title_ = std::move(result->title_);
|
article->title_ = std::move(result->title_);
|
||||||
|
@ -696,7 +696,7 @@ void WebPagesManager::on_get_web_page_by_url(const string &url, WebPageId web_pa
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (cached_web_page_id.is_valid() && web_page_id.is_valid() && web_page_id != cached_web_page_id) {
|
if (cached_web_page_id.is_valid() && web_page_id.is_valid() && web_page_id != cached_web_page_id) {
|
||||||
LOG(ERROR) << "Url \"" << url << "\" preview is changed from " << cached_web_page_id << " to " << web_page_id;
|
LOG(ERROR) << "URL \"" << url << "\" preview is changed from " << cached_web_page_id << " to " << web_page_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
cached_web_page_id = web_page_id;
|
cached_web_page_id = web_page_id;
|
||||||
|
@ -219,7 +219,7 @@ inline StringBuilder &operator<<(StringBuilder &sb, const EncryptedInputFile &fi
|
|||||||
}
|
}
|
||||||
|
|
||||||
// LogEvents
|
// LogEvents
|
||||||
// TODO: Qts and SeqNoState could be just Logevents that are updated during regenerate
|
// TODO: QTS and SeqNoState could be just Logevents that are updated during regenerate
|
||||||
class InboundSecretMessage final : public SecretChatLogEventBase<InboundSecretMessage> {
|
class InboundSecretMessage final : public SecretChatLogEventBase<InboundSecretMessage> {
|
||||||
public:
|
public:
|
||||||
static constexpr Type type = SecretChatEvent::Type::InboundSecretMessage;
|
static constexpr Type type = SecretChatEvent::Type::InboundSecretMessage;
|
||||||
|
@ -1277,14 +1277,14 @@ void Session::connection_open_finish(ConnectionInfo *info,
|
|||||||
Slice mode_name;
|
Slice mode_name;
|
||||||
if (mode_ == Mode::Tcp) {
|
if (mode_ == Mode::Tcp) {
|
||||||
mode = mtproto::SessionConnection::Mode::Tcp;
|
mode = mtproto::SessionConnection::Mode::Tcp;
|
||||||
mode_name = Slice("Tcp");
|
mode_name = Slice("TCP");
|
||||||
} else {
|
} else {
|
||||||
if (info->connection_id_ == 0) {
|
if (info->connection_id_ == 0) {
|
||||||
mode = mtproto::SessionConnection::Mode::Http;
|
mode = mtproto::SessionConnection::Mode::Http;
|
||||||
mode_name = Slice("Http");
|
mode_name = Slice("HTTP");
|
||||||
} else {
|
} else {
|
||||||
mode = mtproto::SessionConnection::Mode::HttpLongPoll;
|
mode = mtproto::SessionConnection::Mode::HttpLongPoll;
|
||||||
mode_name = Slice("HttpLongPoll");
|
mode_name = Slice("LongPoll");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
auto name = PSTRING() << get_name() << "::Connect::" << mode_name << "::" << raw_connection->extra().debug_str;
|
auto name = PSTRING() << get_name() << "::Connect::" << mode_name << "::" << raw_connection->extra().debug_str;
|
||||||
|
@ -269,7 +269,7 @@ class Session final
|
|||||||
void raw_event(const Event::Raw &event) final;
|
void raw_event(const Event::Raw &event) final;
|
||||||
|
|
||||||
friend StringBuilder &operator<<(StringBuilder &sb, Mode mode) {
|
friend StringBuilder &operator<<(StringBuilder &sb, Mode mode) {
|
||||||
return sb << (mode == Mode::Http ? "Http" : "Tcp");
|
return sb << (mode == Mode::Http ? "HTTP" : "TCP");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
namespace td {
|
namespace td {
|
||||||
|
|
||||||
// Process states in order defined by their Id
|
// Process states in order defined by their SeqNo
|
||||||
template <class DataT>
|
template <class DataT>
|
||||||
class OrderedEventsProcessor {
|
class OrderedEventsProcessor {
|
||||||
public:
|
public:
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
namespace td {
|
namespace td {
|
||||||
// Udp and errors
|
|
||||||
namespace detail {
|
namespace detail {
|
||||||
class UdpSocketFdImpl;
|
class UdpSocketFdImpl;
|
||||||
class UdpSocketFdImplDeleter {
|
class UdpSocketFdImplDeleter {
|
||||||
|
Loading…
Reference in New Issue
Block a user