From 79e46207a78f216b054ece49994e7b260c4e4511 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 20 Jan 2014 14:49:26 +0000 Subject: 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 --- protocols/IcqOscarJ/src/icq_clients.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/IcqOscarJ/src/icq_clients.cpp') 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)) { -- cgit v1.2.3