summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-30 18:53:07 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-30 18:53:07 +0000
commit3655d8b6be56a16416aab5d410cb3574684ef708 (patch)
tree5d17c8bc28a344c6bbe4f56df2bf4fbf42d498cf /protocols/SkypeWeb
parentbb4e8721d14fbbcf8cafc976ba882326109f3ccf (diff)
SkypeWeb: ...?call link support.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13303 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r--protocols/SkypeWeb/src/skype_utils.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp
index 514baf4e34..be519b015b 100644
--- a/protocols/SkypeWeb/src/skype_utils.cpp
+++ b/protocols/SkypeWeb/src/skype_utils.cpp
@@ -566,13 +566,18 @@ INT_PTR CSkypeProto::ParseSkypeUriService(WPARAM, LPARAM lParam)
if (szSecondParam)
*(szSecondParam++) = 0;
+ MCONTACT hContact = AddContact(_T2A(szJid), true);
// no command or message command
if (!szCommand || (szCommand && !_tcsicmp(szCommand, _T("chat"))))
{
- MCONTACT hContact = AddContact(_T2A(szJid), true);
CallService(MS_MSG_SENDMESSAGE, (WPARAM)hContact, NULL);
return 0;
}
+ else if (szCommand && !_tcsicmp(szCommand, _T("call")))
+ {
+ NotifyEventHooks(m_hCallHook, (WPARAM)hContact, (LPARAM)0);
+ return 0;
+ }
else if (szCommand && !_tcsicmp(szCommand, _T("userinfo"))){ return 0;}
return 1; /* parse failed */