summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/server.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-06 15:58:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-06 15:58:50 +0300
commitab89bd217435f33330efd4954fd39cc8535facdc (patch)
tree53e175a8f073183bdd3eddbc09a2e4348da503b2 /protocols/ICQ-WIM/src/server.cpp
parent194edfc6fdf27874e51b3ac9c8c439adfcac3c6d (diff)
ICQ: Mandarin IM version detection
Diffstat (limited to 'protocols/ICQ-WIM/src/server.cpp')
-rw-r--r--protocols/ICQ-WIM/src/server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp
index 6f28fbdc3e..be02a2ffe8 100644
--- a/protocols/ICQ-WIM/src/server.cpp
+++ b/protocols/ICQ-WIM/src/server.cpp
@@ -250,6 +250,10 @@ MCONTACT CIcqProto::ParseBuddyInfo(const JSONNode &buddy, MCONTACT hContact)
setString(hContact, "MirVer", "R&Q build by Mikanoshi");
bVersionDetected = true;
}
+ else if (!memcmp(cap, "Mandarin IM", 11)) {
+ setString(hContact, "MirVer", "Mandarin IM");
+ bVersionDetected = true;
+ }
}
if (!bVersionDetected)