diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-20 14:49:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-20 14:49:26 +0000 |
commit | 79e46207a78f216b054ece49994e7b260c4e4511 (patch) | |
tree | eb0e044c81cf954d0e4b30ee248298be1ee84465 /protocols/IcqOscarJ/src/icq_clients.cpp | |
parent | 904d3a5f8dccf98c3f99783d1e92f607cb9c7401 (diff) |
ICQ: Miranda identifies itself as v.11, allowing pure utf8 packets exchange
git-svn-id: http://svn.miranda-ng.org/main/trunk@7790 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_clients.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_clients.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/icq_clients.cpp b/protocols/IcqOscarJ/src/icq_clients.cpp index c834dd285c..c836b16e3c 100644 --- a/protocols/IcqOscarJ/src/icq_clients.cpp +++ b/protocols/IcqOscarJ/src/icq_clients.cpp @@ -681,7 +681,7 @@ const char* CIcqProto::detectUserClient(HANDLE hContact, int nIsICQ, WORD wUserC else if (szClient == NULL) {
// ZA mangled the version, OMG!
if (wVersion == 8 && CheckContactCapabilities(hContact, CAPF_XTRAZ) && (MatchCapability(caps, wLen, &capIMSecKey1, 6) || MatchCapability(caps, wLen, &capIMSecKey2, 6)))
- wVersion = 9;
+ wVersion = ICQ_VERSION;
// try to determine 2001-2003 versions
if (wVersion == 8 && (MatchCapability(caps, wLen, &capComm20012) || CheckContactCapabilities(hContact, CAPF_SRV_RELAY))) {
@@ -733,7 +733,7 @@ const char* CIcqProto::detectUserClient(HANDLE hContact, int nIsICQ, WORD wUserC szClient = "imo.im"; //https://imo.im/ - Web IM
}
// try to determine lite versions
- else if (wVersion == 9) {
+ else if (wVersion >= 9) {
if (CheckContactCapabilities(hContact, CAPF_XTRAZ)) {
*bClientId = CLID_GENERIC;
if (CheckContactCapabilities(hContact, CAPF_OSCAR_FILE)) {
|