summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_utils.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-20 15:33:13 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-20 15:33:13 +0000
commit66a60a05bfcbefa4faa141caa895e7315e7ffa45 (patch)
treeb87625e1c53451d3a9e1b94f3219609e2ca30f0e /protocols/SkypeWeb/src/skype_utils.cpp
parente79b2d652e8a868b2605a24b1f3796b32e6ea0c9 (diff)
SkypeWeb: AssocMgr support part 2.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12979 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_utils.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_utils.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp
index 165a48cdf0..b1f929fad5 100644
--- a/protocols/SkypeWeb/src/skype_utils.cpp
+++ b/protocols/SkypeWeb/src/skype_utils.cpp
@@ -517,7 +517,7 @@ char *CSkypeProto::GetServerFromUrl(const char *url)
return ParseUrl(url, "://");
}
-INT_PTR __cdecl CSkypeProto::ParseSkypeURI(WPARAM w, LPARAM lParam)
+INT_PTR __cdecl CSkypeProto::ParseSkypeURIService(WPARAM, LPARAM lParam)
{
TCHAR *arg = (TCHAR *)lParam;
if (arg == NULL)
@@ -551,7 +551,8 @@ INT_PTR __cdecl CSkypeProto::ParseSkypeURI(WPARAM w, LPARAM lParam)
// no command or message command
if (!szCommand || (szCommand && !_tcsicmp(szCommand, _T("chat"))))
{
- //CallService(MS_MSG_SENDMESSAGE, (WPARAM)hContact, NULL);
+ MCONTACT hContact = AddContact(_T2A(szJid), true);
+ CallService(MS_MSG_SENDMESSAGE, (WPARAM)hContact, NULL);
return 0;
}