diff options
author | George Hazan <ghazan@miranda.im> | 2022-06-20 21:05:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-06-20 21:05:32 +0300 |
commit | e73cfd2ccd26beef84cffa8bad45a591f635923b (patch) | |
tree | 2f1f85bfe3f0c3fe7cebcabda4a9b6d8492b4787 /protocols/JabberG/src/jabber_iqid.cpp | |
parent | 2ad20823d00c39d67ee0608c9cdd33e49e39b51f (diff) |
Jabber: byte stream proxy autodetect
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_iqid.cpp | 6 |
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) {
|