diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-06 15:22:06 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-06 15:22:06 +0000 |
commit | 7858551cb6799b677db95b9676ea3cc1ca781e04 (patch) | |
tree | 3affc440ec53b32a3a95f64695bea159bbf4f32c /protocols/SkypeWeb/src | |
parent | 8e26f05c7e150d5c728b4cdc7fb2e5a3b0aeebee (diff) |
SkypeWeb: Small fix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13462 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src')
-rw-r--r-- | protocols/SkypeWeb/src/skype_events.cpp | 1 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_poll_processing.cpp | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_events.cpp b/protocols/SkypeWeb/src/skype_events.cpp index 645ee38753..0388a08433 100644 --- a/protocols/SkypeWeb/src/skype_events.cpp +++ b/protocols/SkypeWeb/src/skype_events.cpp @@ -24,7 +24,6 @@ INT_PTR CSkypeProto::GetCallEventText(WPARAM, LPARAM lParam) INT_PTR nRetVal = 0;
char *pszText = Translate("Incoming call");
-
if (pEvent->datatype == DBVT_TCHAR)
{
TCHAR *pwszText = _A2T(pszText);
diff --git a/protocols/SkypeWeb/src/skype_poll_processing.cpp b/protocols/SkypeWeb/src/skype_poll_processing.cpp index e2a51baf6f..6aa339893d 100644 --- a/protocols/SkypeWeb/src/skype_poll_processing.cpp +++ b/protocols/SkypeWeb/src/skype_poll_processing.cpp @@ -25,9 +25,7 @@ void CSkypeProto::ProcessEndpointPresenceRes(JSONNODE *node) if (skypename == NULL)
return;
- MCONTACT hContact = NULL;
- if (!IsMe(skypename))
- hContact = AddContact(skypename, true);
+ MCONTACT hContact = FindContact(skypename);
//"publicInfo":{"capabilities":"","typ":"11","skypeNameVersion":"0/7.1.0.105//","nodeInfo":"","version":"24"}
JSONNODE *publicInfo = json_get(node, "publicInfo");
|