From 3655d8b6be56a16416aab5d410cb3574684ef708 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Thu, 30 Apr 2015 18:53:07 +0000 Subject: SkypeWeb: ...?call link support. git-svn-id: http://svn.miranda-ng.org/main/trunk@13303 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_utils.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'protocols') 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 */ -- cgit v1.2.3