diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-03-20 20:17:29 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-03-20 20:17:29 +0000 |
commit | 3f403397d35d601078423e84d61ab0c1cce6203e (patch) | |
tree | 5060c0a07e7139148d9d0f1700288dd5e6b004f9 /protocols/SkypeWeb/src/requests/profile.h | |
parent | 1e8dbc1ff44b65c0fbe4e83fa5a22641c9ab9f47 (diff) |
SkypeWeb: added auth requests management
git-svn-id: http://svn.miranda-ng.org/main/trunk@12456 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests/profile.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/profile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/profile.h b/protocols/SkypeWeb/src/requests/profile.h index 4d6fd94789..8473d19875 100644 --- a/protocols/SkypeWeb/src/requests/profile.h +++ b/protocols/SkypeWeb/src/requests/profile.h @@ -4,8 +4,8 @@ class GetProfileRequest : public HttpRequest
{
public:
- GetProfileRequest(const char *token) :
- HttpRequest(REQUEST_GET, "api.skype.com/users/self/profile")
+ GetProfileRequest(const char *token, const char *skypename = "self") :
+ HttpRequest(REQUEST_GET, "api.skype.com/users/%s/profile", skypename)
{
flags |= NLHRF_SSL;
|