summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_iqid.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-06-20 21:05:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-06-20 21:05:32 +0300
commite73cfd2ccd26beef84cffa8bad45a591f635923b (patch)
tree2f1f85bfe3f0c3fe7cebcabda4a9b6d8492b4787 /protocols/JabberG/src/jabber_iqid.cpp
parent2ad20823d00c39d67ee0608c9cdd33e49e39b51f (diff)
Jabber: byte stream proxy autodetect
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid.cpp')
-rw-r--r--protocols/JabberG/src/jabber_iqid.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp
index 6c30d73f26..685cda10f4 100644
--- a/protocols/JabberG/src/jabber_iqid.cpp
+++ b/protocols/JabberG/src/jabber_iqid.cpp
@@ -46,7 +46,11 @@ void CJabberProto::OnIqResultServerItemsInfo(const TiXmlElement *iqNode, CJabber
if (!mir_strcmp(var, JABBER_FEAT_UPLOAD))
hul_ver = 1;
- // TODO: SOCKS5 Proxy
+ // SOCKS5 Proxy
+ if (!mir_strcmp(var, JABBER_FEAT_BYTESTREAMS)) {
+ m_bBsProxyManual = true;
+ setString("BsProxyServer", from);
+ }
}
if (hul_ver >= 0) {