diff options
author | George Hazan <george.hazan@gmail.com> | 2024-05-03 13:22:40 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-05-03 13:22:40 +0300 |
commit | 9f3a948b5f6d983b06e272ca7db2dbdbaf652a83 (patch) | |
tree | bc3f4763504abefb031f256a13e880206659a7f8 | |
parent | 6594ad4b05fd17ece2219d75a10723eddc8f219d (diff) |
minor code cleaning
-rw-r--r-- | protocols/JabberG/src/jabber_thread.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index 5a4a6e9219..bfd3933e75 100644 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -420,9 +420,9 @@ bool CJabberProto::ServerThreadStub(ThreadData &info) NETLIBUSERSETTINGS us = {};
us.cbSize = sizeof(us);
Netlib_GetUserSettings(m_hNetlibUser, &us);
- if (us.useProxy && us.dnsThroughProxy) {
- //TODO implement dns request thru proxy
- } else
+ if (us.useProxy && us.dnsThroughProxy)
+ ; // TODO implement dns request thru proxy
+ else
info.xmpp_client_query();
if (info.s == nullptr) {
@@ -430,7 +430,7 @@ bool CJabberProto::ServerThreadStub(ThreadData &info) info.s = Netlib_OpenConnection(m_hNetlibUser, info.conn.manualHost, info.conn.port);
if (info.s == nullptr && us.useProxy && us.dnsThroughProxy)
PUShowMessageW(TranslateT("Requesting XMPP service address through proxy is not supported.\n"
- "Please allow direct DNS in options or specify the hostname manually"), SM_WARNING);
+ "Please allow direct DNS in options or specify the hostname manually"), SM_WARNING);
}
}
else info.s = Netlib_OpenConnection(m_hNetlibUser, info.conn.manualHost, info.conn.port);
@@ -1296,7 +1296,7 @@ void CJabberProto::OnProcessMessage(const TiXmlElement *node, ThreadData *info) debugLogA("http auth event added, returning");
return;
}
-
+
if (m_bUseOMEMO) {
if (auto *encNode = XmlGetChildByTag(node, "encrypted", "xmlns", JABBER_FEAT_OMEMO)) {
OmemoHandleMessage(encNode, from, msgTime, bWasSent);
@@ -1346,7 +1346,7 @@ void CJabberProto::OnProcessMessage(const TiXmlElement *node, ThreadData *info) FileProcessHttpDownload(hContact, from, url, XmlGetChildText(xNode, "desc"));
return;
}
-
+
debugLogA("No URL in OOB file transfer, ignoring");
}
else if (!mir_strcmp(pszXmlns, JABBER_FEAT_MUC_USER)) {
|