From ff99b4d9810efbc9013f287b9cb52a852e09b742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Tue, 15 Jan 2013 17:34:33 +0000 Subject: ICQ: added ICQ 8 detection git-svn-id: http://svn.miranda-ng.org/main/trunk@3112 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/icq_clients.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/protocols/IcqOscarJ/src/icq_clients.cpp b/protocols/IcqOscarJ/src/icq_clients.cpp index 2220d649ac..375afec0ee 100644 --- a/protocols/IcqOscarJ/src/icq_clients.cpp +++ b/protocols/IcqOscarJ/src/icq_clients.cpp @@ -972,7 +972,9 @@ const char* CIcqProto::detectUserClient(HANDLE hContact, int nIsICQ, WORD wUserC { // capability footprint based detection - not really reliable if (!dwFT1 && !dwFT2 && !dwFT3 && !dwWebPort && !dwDirectCookie) { // DC info is empty - if (CheckContactCapabilities(hContact, CAPF_TYPING) && MatchCapability(caps, wLen, &capIs2001) && + if (CheckContactCapabilities(hContact, CAPF_UTF | CAPF_CONTACTS | CAPF_XTRAZ | CAPF_OSCAR_FILE | CAPF_STATUS_MOOD)) + szClient = "ICQ 8"; + else if (CheckContactCapabilities(hContact, CAPF_TYPING) && MatchCapability(caps, wLen, &capIs2001) && MatchCapability(caps, wLen, &capIs2002) && MatchCapability(caps, wLen, &capComm20012)) szClient = cliSpamBot; else if (MatchShortCapability(caps, wLen, &capAimIcon) && MatchShortCapability(caps, wLen, &capAimDirect) && -- cgit v1.2.3