summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-01-15 17:34:33 +0000
committerRobert Pösel <robyer@seznam.cz>2013-01-15 17:34:33 +0000
commitff99b4d9810efbc9013f287b9cb52a852e09b742 (patch)
tree8925147620a4c5ad8d5b18db91810835342f3c07 /protocols/IcqOscarJ
parentabc92c3d526f13c6f9b4ad80414761709ace8df2 (diff)
ICQ: added ICQ 8 detection
git-svn-id: http://svn.miranda-ng.org/main/trunk@3112 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r--protocols/IcqOscarJ/src/icq_clients.cpp4
1 files changed, 3 insertions, 1 deletions
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) &&