summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_libstr.cpp
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-12-28 13:51:32 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-12-28 13:51:32 +0000
commitc6804efd7ba31e209cf8a6bb76dea84f7f1d8eee (patch)
tree972ad5ec47b9f2e2c692c17fe5466b4d846c7270 /protocols/MSN/src/msn_libstr.cpp
parente6756f2edef4fbb7ef1f548c1d7b9c8663eaa695 (diff)
MSN should now parse Skype client version of other contacts correctly.
git-svn-id: http://svn.miranda-ng.org/main/trunk@15951 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_libstr.cpp')
-rw-r--r--protocols/MSN/src/msn_libstr.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_libstr.cpp b/protocols/MSN/src/msn_libstr.cpp
index 741ccb41b6..2e1c52ca98 100644
--- a/protocols/MSN/src/msn_libstr.cpp
+++ b/protocols/MSN/src/msn_libstr.cpp
@@ -98,7 +98,10 @@ void parseWLID(char* wlid, char** net, char** email, char** inst)
col = strchr(wlid, ';');
if (col) {
*col = 0;
- if (inst) *inst = col + 1;
+ if (inst) {
+ *inst = col + 1;
+ if (strncmp(*inst, "epid=", 5)==0) *inst+=5;
+ }
}
else if (inst)
*inst = NULL;