summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_utils.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-20 19:05:33 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-20 19:05:33 +0000
commit895b9e0ea5191b67d3f39406c9eae15ccde056ef (patch)
tree333842d092469028fd5480f20775c7e911ccc79c /protocols/SkypeWeb/src/skype_utils.cpp
parent9f72727a540efb421433105bbae65065206ebc52 (diff)
SkypeWeb: fixed parseing uri hook
git-svn-id: http://svn.miranda-ng.org/main/trunk@12984 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_utils.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_utils.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp
index d8a881868e..cbc5086cba 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::ParseSkypeURIService(WPARAM wParam, LPARAM lParam)
+INT_PTR CSkypeProto::ParseSkypeUriService(WPARAM, LPARAM lParam)
{
TCHAR *arg = (TCHAR *)lParam;
if (arg == NULL)
@@ -557,4 +557,13 @@ INT_PTR __cdecl CSkypeProto::ParseSkypeURIService(WPARAM wParam, LPARAM lParam)
}
return 1; /* parse failed */
+}
+
+INT_PTR CSkypeProto::GlobalParseSkypeUriService(WPARAM wParam, LPARAM lParam)
+{
+ for (int i = 0; i < Accounts.getCount(); i++)
+ if (Accounts[i]->IsOnline())
+ return Accounts[i]->ParseSkypeUriService(wParam, lParam);
+
+ return 1;
} \ No newline at end of file