diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-01 18:24:18 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-01 18:24:18 +0000 |
commit | ea1c72e6742777aae4f7cb2602006c0ef8cce1ed (patch) | |
tree | 404bc013c1064f570a91b5a90a4f93cc1a9d8327 /protocols/SkypeWeb/src/skype_poll_processing.cpp | |
parent | 4e93c5f05bd29c94859d048cfba2d1518d23b28b (diff) |
SkypeWeb: Small fixes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13343 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_poll_processing.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_poll_processing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_poll_processing.cpp b/protocols/SkypeWeb/src/skype_poll_processing.cpp index 488bf66668..e6a46d531c 100644 --- a/protocols/SkypeWeb/src/skype_poll_processing.cpp +++ b/protocols/SkypeWeb/src/skype_poll_processing.cpp @@ -24,7 +24,7 @@ void CSkypeProto::ProcessEndpointPresenceRes(JSONNODE *node) ptrA skypename(ContactUrlToName(selfLink));
if (skypename == NULL)
return;
- MCONTACT hContact = FindContact(skypename);
+ MCONTACT hContact = AddContact(skypename, true);
//"publicInfo":{"capabilities":"","typ":"11","skypeNameVersion":"0/7.1.0.105//","nodeInfo":"","version":"24"}
JSONNODE *publicInfo = json_get(node, "publicInfo");
@@ -104,7 +104,7 @@ void CSkypeProto::ProcessUserPresenceRes(JSONNODE *node) }
return;
}
- MCONTACT hContact = FindContact(skypename);
+ MCONTACT hContact = AddContact(skypename, true);
SetContactStatus(hContact, SkypeToMirandaStatus(status));
}
|